Command Reference

Get-PrintJob

PowerShell Printing Beginner Risk: Low
Back to Command Library

Summary

Lists documents currently held in a selected printer queue.

Syntax

Get-PrintJob -PrinterName <String>

Examples

Get-PrintJob -PrinterName 'Office Printer' | Select-Object ID, DocumentName, JobStatus, SubmittedTime

Shows queued jobs for the named printer without removing them.

Permissions

Administrator required: No

Viewing another user's jobs or a remote queue may require additional rights.

Risk and Impact

Risk level: Low

Changes the system: No

Document names may contain sensitive information; review output before sharing.

Supported Platforms

Windows 10 Windows 11 Windows Server

Important Output Fields

DocumentName

Name Windows reports for the queued document.

JobStatus

Current print job state.

SubmittedTime

When the job entered the queue.

Common Errors

No MSFT_PrintJob objects found

The printer name is incorrect or its queue is empty.

Related Articles

These Gnojo articles use or explain this command.

Desktop Support Intermediate

How to Inspect and Clear a Stuck Windows Print Queue

Inspect one Windows printer queue, remove the least amount of authorized queued work needed to recover it, and verify the result without treating a queue change as proof that every printing problem is resolved.

View Article

Official References

Get-PrintJob

Microsoft Learn · Official Documentation

Open Source