Retrieve a list of print jobs from the specified printer.
Syntax Get-PrintJob [-PrinterName] String [-ComputerName String] [-CimSession CimSession] [-ID UInt32] [-ThrottleLimit Int32] [-AsJob] [CommonParameters] Get-PrintJob [-PrinterObject] CimInstance [-ComputerName String] [-CimSession CimSession] [-ID UInt32] [-ThrottleLimit Int32] [-AsJob] [CommonParameters] Key -AsJob Run the cmdlet as a background job. Use this parameter to run commands that take a long time to complete. -CimSession 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. -ComputerName The name of the computer from which to retrieve the print job information. -ID The ID of the print job to retrieve. You can use wildcard characters. -PrinterName The name of the printer from which to retrieve the print job information. -PrinterObject The printer object from which to retrieve the print job information. -ThrottleLimit 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 print jobs:
PS C:> Get-PrintJob -PrinterName "PrinterName"
Get a list of print jobs using a printer object:
PS C:> $Printer = Get-Printer -Name "Prn0064" PS C:> Get-PrintJob -PrinterObject $Printer
“It’s not about the money or your face or how hot you look.
It's about what you're bringing into the world and what you're going to leave behind” ~ Madonna
Get-Printer - Retrieve a list of printers installed on a computer.