Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Tee-Object

Tee-Object - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Tee-Object

Short description
Saves command output in a file or variable and also sends it down the pipeline.

Syntax


Description
The Tee-Object cmdlet redirects output, that is, it sends the output of a command in two directions (like the letter 
"T"). It stores the output in a file or variable and also sends it down the pipeline. If Tee-Object is the last 
command in the pipeline, the command output is displayed at the prompt.