PowerShell Logo Small

Get-PrinterProperty



This is the built-in help made by Microsoft for the command 'Get-PrinterProperty', 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.

SYNOPSIS

Retrieves printer properties for the specified printer.

SYNTAX


Get-PrinterProperty [-PrinterName] <String> [[-PropertyName] <String>] [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-ComputerName
<String>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-PrinterProperty cmdlet retrieves one or more printer properties for the specified printer.


You cannot use wildcard characters with Get-PrinterProperty. You can use Get-PrinterProperty in a Windows PowerShell remoting session.


You need administrator privileges to use Get-PrinterProperty.



<

RELATED LINKS

Set-PrinterProperty

REMARKS

<

Examples


Example 1: Get printer properties

PS C:\> Get-PrinterProperty -PrinterName "Printer name"



This command returns a list of properties for the printer specified by PrinterName.




Example 2: Get printer properties for all installed printers

PS C:\> $printers = get-printer *
foreach ($printer in $printers)
{
    get-printerproperty –printerName $printer.name
}



This command gets all the printers into a variable $printers and then loops through all the printers and displays the properties.