printer

  • Welcome to ITBible, we're your #1 resource for enterprise or homelab IT problems (or just a place to show off your stuff).
  1. WizardTux

    PowerShell Clear Stuck Print Jobs

    Just a way to clear print jobs that may be stuck "printing" or if they are in error status. $PrintJobs = get-wmiobject -class "Win32_PrintJob" -namespace "root\CIMV2" -computername "." foreach ($job in $PrintJobs) { $pos = ($job.Name).IndexOf(",") $printerName =...