Tag: wmi

750 script(s) tagged “wmi”

πŸ“„ JScript (WSH)

Get Environment Variables Report (JScript)

Queries Win32_Environment via WMI and prints Environment Variables to the console β€” JScript, VBScript's WSH sibling lan…

πŸ“œ VBScript (WSH)

Get Time Zone Settings Report (VBScript)

Queries Win32_TimeZone via WMI and prints Time Zone Settings to the console β€” no PowerShell required.

🐍 Python 3.10+

Backup Sound Devices to JSON (Python)

Snapshots Sound Devices (Win32_SoundDevice) to a timestamped JSON file for later comparison or auditing.

πŸ“œ VBScript (WSH)

Get Processor Info Report (VBScript)

Queries Win32_Processor via WMI and prints Processor Info to the console β€” no PowerShell required.

πŸ“Š VBA (Excel)

Export Keyboard Info to CSV via WMI (VBA)

Queries Win32_Keyboard via WMI and writes every Keyboard Info row straight to a CSV file in Documents, using plain VBA …

πŸ“œ VBScript (WSH)

Get Physical Disk Drives Report (VBScript)

Queries Win32_DiskDrive via WMI and prints Physical Disk Drives to the console β€” no PowerShell required.

πŸ“„ JScript (WSH)

Get Processor Info Report (JScript)

Queries Win32_Processor via WMI and prints Processor Info to the console β€” JScript, VBScript's WSH sibling language.

🧬 WQL / PowerShell

Win32_BIOS: Discovering Available Properties (Get-CimClass)

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

⚑ PowerShell 5.1+

Backup Printers List to JSON

Snapshots Printers from Win32_Printer to a timestamped JSON file for later comparison or auditing.

🧬 WQL / PowerShell

Win32_PointingDevice: Event-Driven Monitoring (WQL __InstanceCreationEvent)

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

πŸ–₯️ Batch (CMD)

Get Logical Disks Report (Batch)

Uses wmic to list Logical Disks (Win32_LogicalDisk) straight from the command line.

🧬 WQL / PowerShell

Win32_Environment: Querying Environment Variables Remotely (CIM Session)

Runs the same Win32_Environment WQL query against a remote computer over a CIM session β€” the modern, WinRM-based replac…