Tag: wmi
750 script(s) tagged “wmi”
Export Video Controllers to CSV (Python)
Exports Video Controllers (Win32_VideoController) to a timestamped CSV file via wmic.
Win32_Product: Sorting Installed MSI Products (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 Printers Report to File (VBScript)
Queries Win32_Printer via WMI and writes Printers to a timestamped text file, handy for scheduled logon/logoff scripts.
Win32_OperatingSystem: Filtering Operating System Info (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_OperatingSystem, starting from a LIKE '%' wildcard you customize with aβ¦
Watch Services for Changes
Polls Win32_Service on an interval and prints a line whenever the Services count changes β a lightweight way to notice β¦
Get Printers Report (VBScript)
Queries Win32_Printer via WMI and prints Printers to the console β no PowerShell required.
Win32_Group: Filtering Local Groups (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_Group, starting from a LIKE '%' wildcard you customize with a real searβ¦
Backup Installed MSI Products to JSON (Python)
Snapshots Installed MSI Products (Win32_Product) to a timestamped JSON file for later comparison or auditing.
Watch Installed Hotfixes for Changes
Polls Win32_QuickFixEngineering on an interval and prints a line whenever the Installed Hotfixes count changes β a lighβ¦
Get BIOS Info Report (VBScript)
Queries Win32_BIOS via WMI and prints BIOS Info to the console β no PowerShell required.
Export Physical Memory Modules to CSV via WMI (VBA)
Queries Win32_PhysicalMemory via WMI and writes every Physical Memory Modules row straight to a CSV file in Documents, β¦
Win32_Keyboard: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_Keyboard via Register-CimIndicationEvent β real WQL event query sβ¦