This simple PowerShell script will clear the default printer queue on a Windows machine. This is useful if you have a printer that is stuck in the queue and you need to clear it out.
- Download
Clear-DefaultPrinterQueue.ps1to your machine and execute it using PowerShell.
or
- Download the shortcut file
Clear Printer Queue.lnk, change extension if necessery, and execute it.
or
- Execute the following command in a PowerShell terminal:
irm "https://raw.githubusercontent.com/Owen-3456/Clear-Default-Printer-Queue/refs/heads/main/clear-default-printer-queue.ps1" | iex