Tag: wmi

750 script(s) tagged “wmi”

⚡ PowerShell 5.1+

Backup Network Adapters List to JSON

Snapshots Network Adapters from Win32_NetworkAdapter to a timestamped JSON file for later comparison or auditing.

🧬 WQL / PowerShell

Win32_Service: Filtering Services (WQL WHERE)

Shows the WQL WHERE clause syntax against Win32_Service, starting from a LIKE '%' wildcard you customize with a real se…

🖥️ Batch (CMD)

Get Processor Info Report (Batch)

Uses wmic to list Processor Info (Win32_Processor) straight from the command line.

⚡ PowerShell 5.1+

Get Startup Programs Report

Queries Win32_StartupCommand via WMI and reports Startup Programs in a formatted table, with an optional CSV export.

📊 VBA (Excel)

Load Processor Info into Excel via WMI

Queries Win32_Processor via GetObject("winmgmts:") and dumps every Processor Info row straight onto the active workshee…

🧬 WQL / PowerShell

Win32_Battery: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_Battery exposes on the current system, instead of guessi…

📜 VBScript (WSH)

Get Network Adapter Configuration Report to File (VBScript)

Queries Win32_NetworkAdapterConfiguration via WMI and writes Network Adapter Configuration to a timestamped text file, …

📊 VBA (Excel)

Export Video Controllers to CSV via WMI (VBA)

Queries Win32_VideoController via WMI and writes every Video Controllers row straight to a CSV file in Documents, using…

🟣 C# / .NET 6+

Backup Operating System Info to JSON (C#)

Snapshots Operating System Info (Win32_OperatingSystem) to a timestamped JSON file via System.Management and System.Tex…

⚡ PowerShell 5.1+

Backup Physical Disk Drives List to JSON

Snapshots Physical Disk Drives from Win32_DiskDrive to a timestamped JSON file for later comparison or auditing.

🧬 WQL / PowerShell

Win32_USBController: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_USBController via Register-CimIndicationEvent — real WQL event qu…

📜 VBScript (WSH)

Get Local User Accounts Report to File (VBScript)

Queries Win32_UserAccount via WMI and writes Local User Accounts to a timestamped text file, handy for scheduled logon/…