Tag: wmi
750 script(s) tagged “wmi”
Win32_DiskDrive: Filtering Physical Disk Drives (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_DiskDrive, starting from a LIKE '%' wildcard you customize with a real ā¦
Get Local Groups Report (Python)
Uses wmic under the hood to report Local Groups (Win32_Group) ā no third-party packages required.
Export Sound Devices to CSV (Batch)
Uses wmic to export Sound Devices (Win32_SoundDevice) to a timestamped CSV file.
Get Battery Info Report (C#)
Queries Win32_Battery via WMI (System.Management) and prints Battery Info to the console.
Backup Network Shares List to JSON
Snapshots Network Shares from Win32_Share to a timestamped JSON file for later comparison or auditing.
Get Signed Drivers Report (Python)
Uses wmic under the hood to report Signed Drivers (Win32_PnPSignedDriver) ā no third-party packages required.
Win32_Group: Sorting Local Groups (WQL has no ORDER BY)
WQL has no ORDER BY clause ā this shows the standard workaround of piping Get-CimInstance results through Sort-Object oā¦
Backup Connected Monitors to JSON (Python)
Snapshots Connected Monitors (Win32_DesktopMonitor) to a timestamped JSON file for later comparison or auditing.
Backup Sound Devices List to JSON
Snapshots Sound Devices from Win32_SoundDevice to a timestamped JSON file for later comparison or auditing.
Backup BIOS Info to JSON (C#)
Snapshots BIOS Info (Win32_BIOS) to a timestamped JSON file via System.Management and System.Text.Json.
Get Connected Monitors Report
Queries Win32_DesktopMonitor via WMI and reports Connected Monitors in a formatted table, with an optional CSV export.
Get Network Adapter Configuration Report (Python)
Uses wmic under the hood to report Network Adapter Configuration (Win32_NetworkAdapterConfiguration) ā no third-party pā¦