Tag: wmi
750 script(s) tagged “wmi”
Export Services to CSV (Batch)
Uses wmic to export Services (Win32_Service) to a timestamped CSV file.
Win32_NetworkLoginProfile: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_NetworkLoginProfile via Register-CimIndicationEvent β real WQL evβ¦
Backup Local Groups to JSON (Python)
Snapshots Local Groups (Win32_Group) to a timestamped JSON file for later comparison or auditing.
Win32_LogicalDisk: Logical Disks (WQL)
A minimal WQL reference query against Win32_LogicalDisk β the raw SELECT statement plus a one-line runner, useful for lβ¦
Get Connected Monitors Report (Batch)
Uses wmic to list Connected Monitors (Win32_DesktopMonitor) straight from the command line.
Win32_NetworkAdapterConfiguration: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_NetworkAdapterConfiguration via Register-CimIndicationEvent β reaβ¦
Get Processes Report (Python)
Uses wmic under the hood to report Processes (Win32_Process) β no third-party packages required.
Backup Environment Variables List to JSON
Snapshots Environment Variables from Win32_Environment to a timestamped JSON file for later comparison or auditing.
Backup Installed Hotfixes to JSON (C#)
Snapshots Installed Hotfixes (Win32_QuickFixEngineering) to a timestamped JSON file via System.Management and System.Teβ¦
Backup Computer System Product Info List to JSON
Snapshots Computer System Product Info from Win32_ComputerSystemProduct to a timestamped JSON file for later comparisonβ¦
Export Connected Monitors to CSV (Batch)
Uses wmic to export Connected Monitors (Win32_DesktopMonitor) to a timestamped CSV file.
Export Installed MSI Products to CSV via WMI (VBA)
Queries Win32_Product via WMI and writes every Installed MSI Products row straight to a CSV file in Documents, using plβ¦