PowerShell Logo Small

Get-PrintConfiguration



This is the built-in help made by Microsoft for the command 'Get-PrintConfiguration', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' 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.

SYNOPSIS

Gets the configuration information of a printer.

SYNTAX


Get-PrintConfiguration [-PrinterObject] <CimInstance> [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-PrintConfiguration [-PrinterName] <String> [-AsJob] [-CimSession <CimSession[]>] [-ComputerName <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


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.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=289210
Set-PrintConfiguration

REMARKS

<

Examples


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.