Tag: printers

35 script(s) tagged “printers”

🟣 C# / .NET 6+

Get Printers Report (C#)

Queries Win32_Printer via WMI (System.Management) and prints Printers to the console.

⚑ PowerShell 5.1+

Backup Printers List to JSON

Snapshots Printers from Win32_Printer to a timestamped JSON file for later comparison or auditing.

πŸ“Š VBA (Excel)

Clean Up Stuck print spooler files (VBA)

Deletes every file in stuck print spooler files after a confirmation prompt, using Scripting.FileSystemObject from Exce…

⚑ PowerShell 5.1+

Backup Stuck print spooler files to Zip

Zips up the current contents of stuck print spooler files before you run a cleanup against it.

πŸ–₯️ Batch (CMD)

Export Printers to CSV (Batch)

Uses wmic to export Printers (Win32_Printer) to a timestamped CSV file.

πŸ“Š VBA (Excel)

Report Size of Stuck print spooler files (VBA)

Reports the total size and top-level file count of stuck print spooler files using Scripting.FileSystemObject, straight…

πŸ“œ VBScript (WSH)

Clean Up Stuck print spooler files (VBScript)

Reports the size of stuck print spooler files and deletes its contents after a confirmation prompt.

🧬 WQL / PowerShell

Win32_Printer: Printers (WQL)

A minimal WQL reference query against Win32_Printer β€” the raw SELECT statement plus a one-line runner, useful for learn…

πŸ–₯️ Batch (CMD)

Get Printers Report (Batch)

Uses wmic to list Printers (Win32_Printer) straight from the command line.

🐍 Python 3.10+

Export Printers to CSV (Python)

Exports Printers (Win32_Printer) to a timestamped CSV file via wmic.

⚑ PowerShell 5.1+

Get Printers Report

Queries Win32_Printer via WMI and reports Printers in a formatted table, with an optional CSV export.

πŸ“œ VBScript (WSH)

Get Printers Report to File (VBScript)

Queries Win32_Printer via WMI and writes Printers to a timestamped text file, handy for scheduled logon/logoff scripts.