Retrieve a list of printers installed on a computer.

      Get-Printer [[-Name] String[]] [-ComputerName String]
         [-Full] [-CimSession CimSession[]] [-ThrottleLimit Int32]
            [-AsJob] [CommonParameters]

       Run the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.

       Run the cmdlet in a remote session or on a remote computer.
       Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet.
       The default is the current session on the local computer.

       The name of the computer from which to retrieve the printer information.

       Retrieve all the printer parameters including RenderingMode and PermissionSDDL.
       This does not alter the default view, use select-object to also view them.

       The name of the printer from which to retrieve information.

       The maximum number of concurrent operations that can be established to run the cmdlet.
       If this parameter is omitted or a value of 0 is entered, then PowerShell will calculate an optimum throttle limit
       for the cmdlet based on the number of CIM cmdlets that are running on the computer.
       The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Standard Aliases for Get-PrintJob: none

Get-PrintJob retrieves the current print jobs from the specified printer. Other than for the Job ID, you cannot use wildcard characters with Get-PrintJob. You can use Get-PrintJob in a Windows PowerShell remoting session. Get-PrintJob does not require administrator credentials.


Get a list of printers:

PS C:> Get-Printer

Get the basic details for a specific printer:

PS C:> Get-Printer -Name "Printer 64" | Format-List

Get the FULL information for a specific printer:

PS C:> Get-Printer -Name "Printer 64" -Full | Select-Object -Property * | Out-GridView -Title

Get a list of printers on a remote computer:

PS C:> Get-Printer -ComputerName PrintServer64

Get a list of printer objects and then rename the printers:

PS C:> $Printer = Get-Printer -Name "Printer 64"
PS C:> Rename-Printer -InputObject $printer "Printer 65"

“I would never wear anything with a logo. That I really find difficult. It’s a frustration that I’ll find a nice shirt or something and its got 50 prints of the logo on it - why do they do this?” ~ Norman Foster

Related PowerShell Cmdlets

Add-Printer - Add a printer to the specified computer.
Remove-Printer - Remove a printer from the specified computer.
Set-Printer - Update the configuration of an existing printer.
Get-PrintJob - Retrieve a list of print jobs from the specified printer.

Copyright © 1999-2024
Some rights reserved