Tag: wmi

750 script(s) tagged “wmi”

πŸ“„ JScript (WSH)

Get Video Controllers Report (JScript)

Queries Win32_VideoController via WMI and prints Video Controllers to the console β€” JScript, VBScript's WSH sibling lan…

πŸ“Š VBA (Excel)

Load Network Adapter Configuration into Excel via WMI

Queries Win32_NetworkAdapterConfiguration via GetObject("winmgmts:") and dumps every Network Adapter Configuration row …

πŸ“œ VBScript (WSH)

Get Physical Memory Modules Report (VBScript)

Queries Win32_PhysicalMemory via WMI and prints Physical Memory Modules to the console β€” no PowerShell required.

πŸ“Š VBA (Excel)

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…

⚑ PowerShell 5.1+

Backup Local User Accounts List to JSON

Snapshots Local User Accounts from Win32_UserAccount to a timestamped JSON file for later comparison or auditing.

🐍 Python 3.10+

Backup USB Controllers to JSON (Python)

Snapshots USB Controllers (Win32_USBController) to a timestamped JSON file for later comparison or auditing.

🧬 WQL / PowerShell

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 …

🧬 WQL / PowerShell

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…

🐍 Python 3.10+

Export Computer System Product Info to CSV (Python)

Exports Computer System Product Info (Win32_ComputerSystemProduct) to a timestamped CSV file via wmic.

🐍 Python 3.10+

Export Connected Monitors to CSV (Python)

Exports Connected Monitors (Win32_DesktopMonitor) to a timestamped CSV file via wmic.

🧬 WQL / PowerShell

Win32_PageFileUsage: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_PageFileUsage via Register-CimIndicationEvent β€” real WQL event qu…

🧬 WQL / PowerShell

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…