Writes an object to the pipeline.
Snap-In: Microsoft.PowerShell.Utility
Syntax:
Write-Output
[-InputObject] <PSObject[]> [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Description:
The write-verb Cmdlet is generally used in scripts and commands to create objects as input to the pipeline or the display. They vary mostly in what they send out - whether it's an error, message, object, and so on. The write-object Cmdlet specifically places an object or array of objects in the pipeline.