This was not supported in PowerShell v1 [and as of v5, it’s still not…]
An example workaround is:
Get-Content test.full | .\test_cfdp.exe | tee test.log
More Related Contents:
- What’s the better (cleaner) way to ignore output in PowerShell? [closed]
- UTF-8 output from PowerShell
- How do I call the PowerShell CLI robustly, with respect to character encoding, input and output streams, quoting and escaping?
- How do I pass a local variable to a remote `Invoke-Command`? [duplicate]
- Parsing xml using powershell
- Powershell Custom Object Confusion
- How can I pass an argument to a PowerShell script?
- Send string to stdin
- Recursive file search using PowerShell
- How to send multipart/form-data with PowerShell Invoke-RestMethod
- How to run an application as “run as administrator” from the command prompt? [closed]
- Web.Config transforms outside of Microsoft MSBuild?
- Limit Get-ChildItem recursion depth
- Powershell Invoke-Sqlcmd capture verbose output
- Create Log File in Powershell
- Editing shortcut (.lnk) properties with Powershell
- Confused with -Include parameter of the Get-ChildItem cmdlet
- Colored text output in PowerShell console using ANSI / VT100 codes
- How to convert value to KB, MB, or GB depending on digit placeholders?
- Powershell Join-Path showing 2 dirs in result instead of 1 – accidental script/function output
- Powershell script to see currently logged in users (domain and machine) + status (active, idle, away)
- powershell – list local users and their groups
- Check if a file exists or not in Windows PowerShell?
- Create Outlook email draft using PowerShell
- Read a Csv file with powershell and capture corresponding data
- Using –% in PowerShell
- List hidden sub-directories and sizes
- Are the cmdlets in a pipeline executing in parallel?
- PS Script is exporting an empty CSVs
- Drag and Drop to a Powershell script