Tag: wmi
750 script(s) tagged “wmi”
Get Video Controllers Report (JScript)
Queries Win32_VideoController via WMI and prints Video Controllers to the console β JScript, VBScript's WSH sibling lanβ¦
Load Network Adapter Configuration into Excel via WMI
Queries Win32_NetworkAdapterConfiguration via GetObject("winmgmts:") and dumps every Network Adapter Configuration row β¦
Get Physical Memory Modules Report (VBScript)
Queries Win32_PhysicalMemory via WMI and prints Physical Memory Modules to the console β no PowerShell required.
Load Network Shares into Excel via WMI
Queries Win32_Share via GetObject("winmgmts:") and dumps every Network Shares row straight onto the active worksheet, nβ¦
Backup Local User Accounts List to JSON
Snapshots Local User Accounts from Win32_UserAccount to a timestamped JSON file for later comparison or auditing.
Backup USB Controllers to JSON (Python)
Snapshots USB Controllers (Win32_USBController) to a timestamped JSON file for later comparison or auditing.
Win32_BaseBoard: Filtering Motherboard Info (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_BaseBoard, starting from a LIKE '%' wildcard you customize with a real β¦
Win32_DiskDrive: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_DiskDrive exposes on the current system, instead of guesβ¦
Export Computer System Product Info to CSV (Python)
Exports Computer System Product Info (Win32_ComputerSystemProduct) to a timestamped CSV file via wmic.
Export Connected Monitors to CSV (Python)
Exports Connected Monitors (Win32_DesktopMonitor) to a timestamped CSV file via wmic.
Win32_PageFileUsage: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_PageFileUsage via Register-CimIndicationEvent β real WQL event quβ¦
Win32_Environment: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Envirβ¦