Tag: wmi
750 script(s) tagged “wmi”
Win32_TimeZone: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_TimeZone via Register-CimIndicationEvent β real WQL event query sβ¦
Backup Pointing Devices to JSON (Python)
Snapshots Pointing Devices (Win32_PointingDevice) to a timestamped JSON file for later comparison or auditing.
Win32_StartupCommand: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_StartupCommand exposes on the current system, instead ofβ¦
Export Network Adapter Configuration to CSV (Batch)
Uses wmic to export Network Adapter Configuration (Win32_NetworkAdapterConfiguration) to a timestamped CSV file.
Watch Page File Usage for Changes
Polls Win32_PageFileUsage on an interval and prints a line whenever the Page File Usage count changes β a lightweight wβ¦
Get Computer System Product Info Report (C#)
Queries Win32_ComputerSystemProduct via WMI (System.Management) and prints Computer System Product Info to the console.
Get Startup Programs Report (JScript)
Queries Win32_StartupCommand via WMI and prints Startup Programs to the console β JScript, VBScript's WSH sibling languβ¦
Win32_VideoController: Querying Video Controllers Remotely (CIM Session)
Runs the same Win32_VideoController WQL query against a remote computer over a CIM session β the modern, WinRM-based reβ¦
Backup System Drivers to JSON (Python)
Snapshots System Drivers (Win32_SystemDriver) to a timestamped JSON file for later comparison or auditing.
Backup Processor Info to JSON (C#)
Snapshots Processor Info (Win32_Processor) to a timestamped JSON file via System.Management and System.Text.Json.
Win32_PageFileUsage: Filtering Page File Usage (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_PageFileUsage, starting from a LIKE '%' wildcard you customize with a rβ¦
Get Computer System Info Report
Queries Win32_ComputerSystem via WMI and reports Computer System Info in a formatted table, with an optional CSV export.