Tag: wmi
750 script(s) tagged “wmi”
Get Operating System Info Report (C#)
Queries Win32_OperatingSystem via WMI (System.Management) and prints Operating System Info to the console.
Backup Physical Memory Modules List to JSON
Snapshots Physical Memory Modules from Win32_PhysicalMemory to a timestamped JSON file for later comparison or auditing.
Get Signed Drivers Report
Queries Win32_PnPSignedDriver via WMI and reports Signed Drivers in a formatted table, with an optional CSV export.
Backup BIOS Info to JSON (Python)
Snapshots BIOS Info (Win32_BIOS) to a timestamped JSON file for later comparison or auditing.
Win32_Group: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_Group via Register-CimIndicationEvent โ real WQL event query syntโฆ
Get Operating System Info Report (VBScript)
Queries Win32_OperatingSystem via WMI and prints Operating System Info to the console โ no PowerShell required.
Win32_Processor: Sorting Processor Info (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โฆ
Get Local User Accounts Report
Queries Win32_UserAccount via WMI and reports Local User Accounts in a formatted table, with an optional CSV export.
Win32_SoundDevice: Sorting Sound Devices (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โฆ
Get Network Shares Report
Queries Win32_Share via WMI and reports Network Shares in a formatted table, with an optional CSV export.
Get Video Controllers Report (C#)
Queries Win32_VideoController via WMI (System.Management) and prints Video Controllers to the console.
Get Keyboard Info Report to File (VBScript)
Queries Win32_Keyboard via WMI and writes Keyboard Info to a timestamped text file, handy for scheduled logon/logoff scโฆ