This is the built-in help made by Microsoft for the command 'Get-PrintConfiguration', 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.
Gets the configuration information of a printer.
Get-PrintConfiguration [-PrinterObject] <CimInstance> [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-ThrottleLimit <Int32>]
[<CommonParameters>]
Get-PrintConfiguration [-PrinterName] <String> [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-ComputerName <String>]
[-ThrottleLimit <Int32>] [<CommonParameters>]
The Get-PrintConfiguration cmdlet gets the configuration information of the specified printer. Using Get-PrintConfiguration cmdlet, you can
manage the configuration of the following features:
● Collate
● Color
● Duplexing Mode
● N-Up
● Paper Size
You cannot use wildcard characters with Get-PrintConfiguration. You can use Get-PrintConfiguration in a Windows PowerShell remoting session.
You do not need administrator privileges to use Get-PrintConfiguration.
<
<
Example 1: Get the printer configuration
PS C:\> Get-PrintConfiguration –PrinterName "Microsoft XPS Document Writer"
This command returns the printer configuration for the printer named "Microsoft XPS Document Writer".
Example 2: Get the print configuration for all printers
PS C:\> $printers = get-printer *
foreach ($printer in $printers)
{
Get-printconfiguration –printerName $printer.name –duplexingMode “TwoSidedLongEdge”
}
This command gets all the printers into a variable $printers and then loops through all the printers and displays the properties.