Categories: PowerShell

Manage Print Jobs in Windows 11 & 10 Using PowerShell

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.

Srini

Share
Published by
Srini

Recent Posts

Add new user account from command line (CMD)

Adding users from command line is much easier than going through the UI. It saves…

4 years ago

Delete directory from command line [Rmdir]

Do you want to delete a directory from Windows command prompt(CMD)? This post explains how…

4 years ago

TaskKill: Kill process from command line (CMD)

We can kill a process from GUI using Task manager. If you want to do…

4 years ago

Kill Chrome from command line

Chrome is definitely the stable browser compared to other ones and it has been my…

4 years ago

Find windows OS version from command line

Windows has multiple command line utilities that can help find the version of the Windows…

4 years ago

How to check if Windows 32 or 64 bit?

There are multiple ways to check whether a Windows computer is running 32-bit OS or…

7 years ago