Tag: wmi

750 script(s) tagged “wmi”

📜 VBScript (WSH)

Get Network Adapters Report to File (VBScript)

Queries Win32_NetworkAdapter via WMI and writes Network Adapters to a timestamped text file, handy for scheduled logon/…

📄 JScript (WSH)

Get Computer System Info Report (JScript)

Queries Win32_ComputerSystem via WMI and prints Computer System Info to the console — JScript, VBScript's WSH sibling l…

🧬 WQL / PowerShell

Win32_PointingDevice: Filtering Pointing Devices (WQL WHERE)

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

🧰 AutoHotkey v2

Battery Status Popup

Ctrl+Alt+B shows a tooltip with the current battery percentage and charging state, read via WMI.

🟣 C# / .NET 6+

Backup Sound Devices to JSON (C#)

Snapshots Sound Devices (Win32_SoundDevice) to a timestamped JSON file via System.Management and System.Text.Json.

🧬 WQL / PowerShell

Win32_SystemDriver: Sorting System Drivers (WQL has no ORDER BY)

WQL has no ORDER BY clause — this shows the standard workaround of piping Get-CimInstance results through Sort-Object o…

🟣 C# / .NET 6+

Get BIOS Info Report (C#)

Queries Win32_BIOS via WMI (System.Management) and prints BIOS Info to the console.

⚡ PowerShell 5.1+

Get USB Controllers Report

Queries Win32_USBController via WMI and reports USB Controllers in a formatted table, with an optional CSV export.

🐍 Python 3.10+

Backup Startup Programs to JSON (Python)

Snapshots Startup Programs (Win32_StartupCommand) to a timestamped JSON file for later comparison or auditing.

🐍 Python 3.10+

Export Network Login Profiles to CSV (Python)

Exports Network Login Profiles (Win32_NetworkLoginProfile) to a timestamped CSV file via wmic.

📜 VBScript (WSH)

Get Environment Variables Report to File (VBScript)

Queries Win32_Environment via WMI and writes Environment Variables to a timestamped text file, handy for scheduled logo…

⚡ PowerShell 5.1+

Backup Operating System Info List to JSON

Snapshots Operating System Info from Win32_OperatingSystem to a timestamped JSON file for later comparison or auditing.