Tag: wmi

750 script(s) tagged “wmi”

🟣 C# / .NET 6+

Backup Local User Accounts to JSON (C#)

Snapshots Local User Accounts (Win32_UserAccount) to a timestamped JSON file via System.Management and System.Text.Json.

🐍 Python 3.10+

Backup CD/DVD Drives to JSON (Python)

Snapshots CD/DVD Drives (Win32_CDROMDrive) to a timestamped JSON file for later comparison or auditing.

🧬 WQL / PowerShell

Win32_PnPSignedDriver: Signed Drivers (WQL)

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

🧬 WQL / PowerShell

Win32_PageFileUsage: Querying Page File Usage Remotely (CIM Session)

Runs the same Win32_PageFileUsage WQL query against a remote computer over a CIM session β€” the modern, WinRM-based repl…

🐍 Python 3.10+

Backup Installed Hotfixes to JSON (Python)

Snapshots Installed Hotfixes (Win32_QuickFixEngineering) to a timestamped JSON file for later comparison or auditing.

🐍 Python 3.10+

Backup Operating System Info to JSON (Python)

Snapshots Operating System Info (Win32_OperatingSystem) to a timestamped JSON file for later comparison or auditing.

πŸ“„ JScript (WSH)

Get Physical Memory Modules Report (JScript)

Queries Win32_PhysicalMemory via WMI and prints Physical Memory Modules to the console β€” JScript, VBScript's WSH siblin…

🐍 Python 3.10+

Backup Processor Info to JSON (Python)

Snapshots Processor Info (Win32_Processor) to a timestamped JSON file for later comparison or auditing.

⚑ PowerShell 5.1+

Backup Pointing Devices List to JSON

Snapshots Pointing Devices from Win32_PointingDevice to a timestamped JSON file for later comparison or auditing.

🐍 Python 3.10+

Get Video Controllers Report (Python)

Uses wmic under the hood to report Video Controllers (Win32_VideoController) β€” no third-party packages required.

πŸ“œ VBScript (WSH)

Get Installed MSI Products Report (VBScript)

Queries Win32_Product via WMI and prints Installed MSI Products to the console β€” no PowerShell required.

πŸ“œ VBScript (WSH)

Get CD/DVD Drives Report (VBScript)

Queries Win32_CDROMDrive via WMI and prints CD/DVD Drives to the console β€” no PowerShell required.