Tag: printers
35 script(s) tagged “printers”
Win32_Printer: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_Printer exposes on the current system, instead of guessiβ¦
Backup Stuck print spooler files to Zip (Python)
Zips up the current contents of stuck print spooler files before you run a cleanup against it.
List Files in Stuck print spooler files (VBA)
Lists every file in stuck print spooler files with size and last-modified date directly on the active worksheet, using β¦
Clean Up Stuck print spooler files
Reports the size of stuck print spooler files and optionally clears it out. Dry-run by default.
Backup Printers to JSON (Python)
Snapshots Printers (Win32_Printer) to a timestamped JSON file for later comparison or auditing.
Clean Up Stuck print spooler files (Batch)
Clears stuck print spooler files after a confirmation prompt, with a /silent mode for scheduled tasks.
Load Printers into Excel via WMI
Queries Win32_Printer via GetObject("winmgmts:") and dumps every Printers row straight onto the active worksheet, no Poβ¦
Win32_Printer: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Printβ¦
Get Stuck print spooler files Size Report (Python)
Recursively sums the size of stuck print spooler files, read-only (no deletion).
Get Printers Report (JScript)
Queries Win32_Printer via WMI and prints Printers to the console β JScript, VBScript's WSH sibling language.
Win32_Printer: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_Printer via Register-CimIndicationEvent β real WQL event query syβ¦
Get Stuck print spooler files Size Report
Reports how much disk space stuck print spooler files is currently using, read-only (no deletion).