Tee-Object


Sends input objects to two places.

Snap-In: Microsoft.PowerShell.Utility

Syntax:

Tee-Object

 [-FilePath] <String> [-InputObject <PSObject>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

Tee-Object

 [-InputObject <PSObject>] -Variable <String> [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

Description:

It is possible to take an input object, process it, and send it to more than one destination. However, it often requires more than one command. The Tee-Object Cmdlet allows you to send the result along two paths.



Windows PowerShell. TFM
Internet Forensics
ISBN: 982131445
EAN: 2147483647
Year: 2004
Pages: 289

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net