This is the built-in help made by Microsoft for the command 'Out-Printer', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Sends output to a printer.
Out-Printer [[-Name] <String>] [-InputObject <PSObject>] [<CommonParameters>]
The Out-Printer cmdlet sends output to the default printer or to an alternate printer, if one is specified.
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=113367
Out-Default
Out-File
Out-Host
Out-Null
Out-String
<
-------------------------- EXAMPLE 1 --------------------------
PS C:\>get-content $pshome\about_signing.help.txt | Out-Printer
This command prints the content of the about_Signing Help topic to the default printer. This example shows you how to print a file, even
though Out-Printer does not have a Path parameter.
The command uses the Get-Content cmdlet to get the contents of the Help topic. The path includes $pshome, a built-in variable that stores the
installation directory for Windows PowerShell. A pipeline operator (|) passes the results to Out-Printer, which sends it to the default
printer.
-------------------------- EXAMPLE 2 --------------------------
PS C:\>"Hello, World" | out-printer -name "\\Server01\Prt-6B Color"
This command prints "Hello, World" to the "Prt-6B Color" printer on Server01. This command uses the Name parameter to specify the alternate
printer. Because the parameter name is optional, you can omit it.
-------------------------- EXAMPLE 3 --------------------------
PS C:\>$h = get-help -full get-wmiobject
PS C:\>out-printer -inputobject $h
These commands print the full version of the Help topic for Get-WmiObject. The first command uses the Get-Help cmdlet to get the full version
of the Help topic for Get-WmiObject and stores it in the $h variable. The second command sends the content to the default printer. It uses the
InputObject parameter to pass the value of the $h variable to Out-Printer.