AD | Application | AWS | Azure | Cloud | Database | Enterprise | Environmental | Event Log | File System | IoT | IT Service | Network/System | NIS2 | Infra | Performance | Protocol | SaaS | Security | Service Level | Storage | Linux | VMware | VoIP | Web | Wireless | SNMP

MonitorTools.com » Administration » Powershell » Powershell 3.0 » Tee-Object

Tee-Object - Powershell 3.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 i
n the pipeline, the command output is displayed at the prompt.





M