Contact Info

Crumbtrail

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

Out-String - Powershell 2.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 <int>] [<CommonParameters>]

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