Home » PowerShell » Remove Print Job Using PowerShell

Remove Print Job Using PowerShell

To remove a print job on the specified printer in Windows, use the Remove-PrintJob command in PowerShell. The Remove-PrintJob command uses the PrinterName and Job ID parameters to remote a print job on the specified printer.

Here is the PowerShell command that deletes a print job on the specified printer.

Remove-PrintJob -PrinterName "INCORP-EU-01\RICHO1" -ID 42

In the above PowerShell script, the Remove-PrintJob command uses the PrinterName parameter to specify the printer and ID as the job ID and remove the job on the specified printer.

The output of the above PowerShell script removes the print job that has an ID of 42 from the printer named “INCORP-EU-01\RICHO1“.

You can get the list of print jobs in the specified printer using the Get-PrintJob command in PowerShell.

Conclusion

I hope the above article on how to remove a print job on the Windows system using the PowerShell Remove-PrintJob command is helpful to you.

You can find more topics about PowerShell Active Directory commands and PowerShell basics on the ShellGeek home page.