Command Reference
Get-PrintJob
Gnojo Analysis
Understanding Get-PrintJob
What This Command Does
Lists documents currently held in a selected printer queue.
When to Use It
Use Get-PrintJob when troubleshooting printing issues and you need information that can help narrow down the cause.
What to Look For
DocumentName
Name Windows reports for the queued document.
JobStatus
Current print job state.
SubmittedTime
When the job entered the queue.
Permissions
Administrator access is not normally required for this command.
Risk and impact
Document names may contain sensitive information; review output before sharing.
Typical Next Steps
Continue troubleshooting with one of these related commands:
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
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.
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 ArticleRelated Commands
Continue troubleshooting with related diagnostic commands.
Official References
Get-PrintJob
Microsoft Learn · Official Documentation