Internet Forensics
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.