Tag: wmi
750 script(s) tagged “wmi”
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.
Backup CD/DVD Drives to JSON (Python)
Snapshots CD/DVD Drives (Win32_CDROMDrive) to a timestamped JSON file for later comparison or auditing.
Win32_PnPSignedDriver: Signed Drivers (WQL)
A minimal WQL reference query against Win32_PnPSignedDriver β the raw SELECT statement plus a one-line runner, useful fβ¦
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β¦
Backup Installed Hotfixes to JSON (Python)
Snapshots Installed Hotfixes (Win32_QuickFixEngineering) to a timestamped JSON file for later comparison or auditing.
Backup Operating System Info to JSON (Python)
Snapshots Operating System Info (Win32_OperatingSystem) to a timestamped JSON file for later comparison or auditing.
Get Physical Memory Modules Report (JScript)
Queries Win32_PhysicalMemory via WMI and prints Physical Memory Modules to the console β JScript, VBScript's WSH siblinβ¦
Backup Processor Info to JSON (Python)
Snapshots Processor Info (Win32_Processor) to a timestamped JSON file for later comparison or auditing.
Backup Pointing Devices List to JSON
Snapshots Pointing Devices from Win32_PointingDevice to a timestamped JSON file for later comparison or auditing.
Get Video Controllers Report (Python)
Uses wmic under the hood to report Video Controllers (Win32_VideoController) β no third-party packages required.
Get Installed MSI Products Report (VBScript)
Queries Win32_Product via WMI and prints Installed MSI Products to the console β no PowerShell required.
Get CD/DVD Drives Report (VBScript)
Queries Win32_CDROMDrive via WMI and prints CD/DVD Drives to the console β no PowerShell required.