In Windows 11 and Windows 10, PowerShell can list, pause, resume, and cancel print jobs. The PrintManagement commands are useful when a job is stuck in the queue or when you need to manage a printer from a script.
Open PowerShell and first check the installed printer names. Use the exact name shown in the output in the commands below.
Get-Printer
List the jobs in a printer queue
Get-PrintJob -PrinterName "Printer Name"
This displays the current jobs and their IDs. The job ID is needed when you want to pause, resume, or remove one job.
Pause a print job
Suspend-PrintJob -PrinterName "Printer Name" -ID 2
Replace 2 with the ID returned by Get-PrintJob.
Resume a print job
Resume-PrintJob -PrinterName "Printer Name" -ID 2
Cancel a stuck print job
Remove-PrintJob -PrinterName "Printer Name" -ID 2
The command removes only the selected job. Run Get-PrintJob again if you need to check that the queue is clear.
Older WMIC commands
If you maintain an older Windows system that still uses WMIC, see manage print jobs with WMIC. WMIC is deprecated, so use the PowerShell commands on this page for Windows 11 and Windows 10.