Out-Host - Powershell 1.0 CmdLet
Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.
More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.
Out-Host
Description Send the pipelined output to the host Usage Options -paging Display one page of output at a time, and wait for user input before displaying more. By default, all output is displayed on a single page. The page size is determined by the characteristics of the host. -inputObject psobject The object to be written to file. {may be piped} A command, expression or variabale that contains the objects. CommonParameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutVariable. Example(s) Display system processes one page at a time: PS C:\>get-process | out-host -paging Display a snapshot of the session history at the command line: PS C:\>$a = get-history PS C:\>out-host -InputObject $a