Clear Print Queue Cmd [verified] -

Invoke-Command -ComputerName "WS-023" -ScriptBlock Remove-PrintJob

Or using -ComputerName parameter where supported (limited in older cmdlets): clear print queue cmd

Get-Printer | Get-PrintJob Get-PrintJob -PrinterName "HP-LaserJet-4015" | Remove-PrintJob 4.4 Deleting a Specific Job by ID Remove-PrintJob -PrinterName "HP-LaserJet-4015" -JobId 7 4.5 Conditional Deletion Examples Delete jobs by document name pattern: clear print queue cmd

Get-PrintJob -PrinterName "HP-LaserJet-4015" | Where-Object $_.DocumentName -like "*confidential*" | Remove-PrintJob Delete jobs older than 1 hour: clear print queue cmd

net print \\server_name\printer_share /delete To delete a specific job by ID: