Tag: wmi
750 script(s) tagged “wmi”
Load Sound Devices into Excel via WMI
Queries Win32_SoundDevice via GetObject("winmgmts:") and dumps every Sound Devices row straight onto the active workshe…
System Info Report
Collects OS, CPU, RAM, and BIOS information via WMI and writes a plain-text inventory report, no PowerShell required.
Get CD/DVD Drives Report
Queries Win32_CDROMDrive via WMI and reports CD/DVD Drives in a formatted table, with an optional CSV export.
Win32_Printer: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_Printer exposes on the current system, instead of guessi…
Win32_DesktopMonitor: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_DesktopMonitor via Register-CimIndicationEvent — real WQL event q…
Export Connected Monitors to CSV via WMI (VBA)
Queries Win32_DesktopMonitor via WMI and writes every Connected Monitors row straight to a CSV file in Documents, using…
Win32_Share: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_Share via Register-CimIndicationEvent — real WQL event query synt…
Load Time Zone Settings into Excel via WMI
Queries Win32_TimeZone via GetObject("winmgmts:") and dumps every Time Zone Settings row straight onto the active works…
Watch Computer System Product Info for Changes
Polls Win32_ComputerSystemProduct on an interval and prints a line whenever the Computer System Product Info count chan…
Get Physical Memory Modules Report (C#)
Queries Win32_PhysicalMemory via WMI (System.Management) and prints Physical Memory Modules to the console.
Backup Physical Disk Drives to JSON (Python)
Snapshots Physical Disk Drives (Win32_DiskDrive) to a timestamped JSON file for later comparison or auditing.
Win32_ComputerSystem: Querying Computer System Info Remotely (CIM Session)
Runs the same Win32_ComputerSystem WQL query against a remote computer over a CIM session — the modern, WinRM-based rep…