Skip to content

Instantly share code, notes, and snippets.

@jespernohr
Created July 4, 2016 11:27
Show Gist options
  • Save jespernohr/31071b3ddb1002f23f63260fbf521e28 to your computer and use it in GitHub Desktop.
Save jespernohr/31071b3ddb1002f23f63260fbf521e28 to your computer and use it in GitHub Desktop.
Get-WMIObject Win32_PerfFormattedData_Spooler_PrintQueue |
Select Name, @{Expression={$_.jobs};Label="CurrentJobs"}, TotalJobsPrinted, JobErrors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment