Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 1.0 » Write-Output

Write-Output - Powershell 1.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 »

Write-Output

Description
Write an object to the pipeline

Usage
Write-Output [-inputObject] Object[] [CommonParameters]

Options
-inputObject Object
       The object(s) to send along the pipeline.
       A variable, command or expression that gets the objects.

   CommonParameters:
       -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutVariable.

Examples

Example(s)
Write a string to the pipeline, which by default will appear on the screen:

PS C:\>$myvar="The quick brown fox"
PS C:\>write-output $myvar