Tag: wmi
750 script(s) tagged “wmi”
Get Environment Variables Report (JScript)
Queries Win32_Environment via WMI and prints Environment Variables to the console β JScript, VBScript's WSH sibling lanβ¦
Get Time Zone Settings Report (VBScript)
Queries Win32_TimeZone via WMI and prints Time Zone Settings to the console β no PowerShell required.
Backup Sound Devices to JSON (Python)
Snapshots Sound Devices (Win32_SoundDevice) to a timestamped JSON file for later comparison or auditing.
Get Processor Info Report (VBScript)
Queries Win32_Processor via WMI and prints Processor Info to the console β no PowerShell required.
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 β¦
Get Physical Disk Drives Report (VBScript)
Queries Win32_DiskDrive via WMI and prints Physical Disk Drives to the console β no PowerShell required.
Get Processor Info Report (JScript)
Queries Win32_Processor via WMI and prints Processor Info to the console β JScript, VBScript's WSH sibling language.
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 β¦
Backup Printers List to JSON
Snapshots Printers from Win32_Printer to a timestamped JSON file for later comparison or auditing.
Win32_PointingDevice: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_PointingDevice via Register-CimIndicationEvent β real WQL event qβ¦
Get Logical Disks Report (Batch)
Uses wmic to list Logical Disks (Win32_LogicalDisk) straight from the command line.
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β¦