Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Out-String

Out-String - 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 »

Out-String

Short description
Sends objects to the host as a series of strings.

Syntax
Out-String [-InputObject <PSObject>] [-Stream] [-Width <Int32>] [<CommonParameters>]





Description
The Out-String cmdlet converts the objects that Windows PowerShell manages into an array of strings. By default, Out-St
ring accumulates the strings and returns them as a single string, but you can use the stream parameter to direct Out-St
ring to return one string at a time. This cmdlet lets you search and manipulate string output as you would in tradition
al shells when object manipulation is less convenient.