February 2019
Beginner to intermediate
542 pages
10h 34m
English
Knowing who is using your printing devices and how much can be important in terms of capacity planning.
By default, Windows does not log printer usage information. But it is simple to turn on this logging and use the results.
You use this recipe on the PSRV host.
wevtutil.exe to turn on printer monitoring on the PSRV host:$LogName = 'Microsoft-Windows-PrintService/Operational' wevtutil.exe sl $LogName /enabled:true
Function Get-PrinterUsage { # 2.1 Get events from the print server event log $LogName = 'Microsoft-Windows-PrintService/Operational' $Dps = Get-WinEvent -LogName $LogName | Where-Object ID -eq 307 ...Read now
Unlock full access