Tag: printers
35 script(s) tagged “printers”
Get Printers Report (VBScript)
Queries Win32_Printer via WMI and prints Printers to the console β no PowerShell required.
Backup Printers to JSON (C#)
Snapshots Printers (Win32_Printer) to a timestamped JSON file via System.Management and System.Text.Json.
Export Printers to CSV via WMI (VBA)
Queries Win32_Printer via WMI and writes every Printers row straight to a CSV file in Documents, using plain VBA file Iβ¦
Get Stuck print spooler files Size Report (C#)
Recursively sums the size of stuck print spooler files, read-only (no deletion).
Win32_Printer: Sorting Printers (WQL has no ORDER BY)
WQL has no ORDER BY clause β this shows the standard workaround of piping Get-CimInstance results through Sort-Object oβ¦
Watch Printers for Changes
Polls Win32_Printer on an interval and prints a line whenever the Printers count changes β a lightweight way to notice β¦
Clean Up Stuck print spooler files (Python)
Reports the size of stuck print spooler files and optionally clears it out. Dry-run by default.
Get Printers Report (Python)
Uses wmic under the hood to report Printers (Win32_Printer) β no third-party packages required.
Win32_Printer: Querying Printers Remotely (CIM Session)
Runs the same Win32_Printer WQL query against a remote computer over a CIM session β the modern, WinRM-based replacemenβ¦
Win32_Printer: Filtering Printers (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_Printer, starting from a LIKE '%' wildcard you customize with a real seβ¦
Get Stuck print spooler files Size Report (VBScript)
Recursively sums the size of stuck print spooler files, read-only (no deletion).