Tag: wmi

750 script(s) tagged “wmi”

🧬 WQL / PowerShell

Win32_TimeZone: Filtering Time Zone Settings (WQL WHERE)

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

📄 JScript (WSH)

Get Physical Disk Drives Report (JScript)

Queries Win32_DiskDrive via WMI and prints Physical Disk Drives to the console — JScript, VBScript's WSH sibling langua…

📜 VBScript (WSH)

Get Signed Drivers Report to File (VBScript)

Queries Win32_PnPSignedDriver via WMI and writes Signed Drivers to a timestamped text file, handy for scheduled logon/l…

🖥️ Batch (CMD)

Export Processor Info to CSV (Batch)

Uses wmic to export Processor Info (Win32_Processor) to a timestamped CSV file.

⚡ PowerShell 5.1+

Watch Keyboard Info for Changes

Polls Win32_Keyboard on an interval and prints a line whenever the Keyboard Info count changes — a lightweight way to n…

🐍 Python 3.10+

Get Computer System Product Info Report (Python)

Uses wmic under the hood to report Computer System Product Info (Win32_ComputerSystemProduct) — no third-party packages…

🧬 WQL / PowerShell

Win32_Battery: Querying Battery Info Remotely (CIM Session)

Runs the same Win32_Battery WQL query against a remote computer over a CIM session — the modern, WinRM-based replacemen…

📊 VBA (Excel)

Load Computer System Product Info into Excel via WMI

Queries Win32_ComputerSystemProduct via GetObject("winmgmts:") and dumps every Computer System Product Info row straigh…

🟣 C# / .NET 6+

Get Physical Disk Drives Report (C#)

Queries Win32_DiskDrive via WMI (System.Management) and prints Physical Disk Drives to the console.

🧬 WQL / PowerShell

Win32_BaseBoard: Querying Motherboard Info Remotely (CIM Session)

Runs the same Win32_BaseBoard WQL query against a remote computer over a CIM session — the modern, WinRM-based replacem…

🟣 C# / .NET 6+

Backup Environment Variables to JSON (C#)

Snapshots Environment Variables (Win32_Environment) to a timestamped JSON file via System.Management and System.Text.Js…

⚡ PowerShell 5.1+

Watch Battery Info for Changes

Polls Win32_Battery on an interval and prints a line whenever the Battery Info count changes — a lightweight way to not…