Tag: wmi
750 script(s) tagged “wmi”
Win32_Product: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Produ…
Win32_BIOS: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_BIOS via Register-CimIndicationEvent — real WQL event query synta…
Get USB Controllers Report to File (VBScript)
Queries Win32_USBController via WMI and writes USB Controllers to a timestamped text file, handy for scheduled logon/lo…
Backup Video Controllers to JSON (C#)
Snapshots Video Controllers (Win32_VideoController) to a timestamped JSON file via System.Management and System.Text.Js…
Export Environment Variables to CSV (Batch)
Uses wmic to export Environment Variables (Win32_Environment) to a timestamped CSV file.
Export Motherboard Info to CSV (Python)
Exports Motherboard Info (Win32_BaseBoard) to a timestamped CSV file via wmic.
Win32_CDROMDrive: Filtering CD/DVD Drives (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_CDROMDrive, starting from a LIKE '%' wildcard you customize with a real…
Win32_SoundDevice: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_SoundDevice via Register-CimIndicationEvent — real WQL event quer…
Export Computer System Info to CSV (Batch)
Uses wmic to export Computer System Info (Win32_ComputerSystem) to a timestamped CSV file.
Get Installed Hotfixes Report (VBScript)
Queries Win32_QuickFixEngineering via WMI and prints Installed Hotfixes to the console — no PowerShell required.
Export Environment Variables to CSV via WMI (VBA)
Queries Win32_Environment via WMI and writes every Environment Variables row straight to a CSV file in Documents, using…
Win32_Share: Network Shares (WQL)
A minimal WQL reference query against Win32_Share — the raw SELECT statement plus a one-line runner, useful for learnin…