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
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.
Suspend-PrintJob -PrinterName "Printer Name" -ID 2
Replace 2 with the ID returned by Get-PrintJob.
Resume-PrintJob -PrinterName "Printer Name" -ID 2
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.
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.
Adding users from command line is much easier than going through the UI. It saves…
Do you want to delete a directory from Windows command prompt(CMD)? This post explains how…
We can kill a process from GUI using Task manager. If you want to do…
Chrome is definitely the stable browser compared to other ones and it has been my…
Windows has multiple command line utilities that can help find the version of the Windows…
There are multiple ways to check whether a Windows computer is running 32-bit OS or…