Tag: wmi

750 script(s) tagged “wmi”

📄 JScript (WSH)

Get USB Controllers Report (JScript)

Queries Win32_USBController via WMI and prints USB Controllers to the console — JScript, VBScript's WSH sibling languag…

🧬 WQL / PowerShell

Win32_StartupCommand: Querying Startup Programs Remotely (CIM Session)

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

🐍 Python 3.10+

Get Installed Hotfixes Report (Python)

Uses wmic under the hood to report Installed Hotfixes (Win32_QuickFixEngineering) — no third-party packages required.

🧬 WQL / PowerShell

Win32_Group: Discovering Available Properties (Get-CimClass)

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

🧬 WQL / PowerShell

Win32_Share: Querying Network Shares Remotely (CIM Session)

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

🐍 Python 3.10+

Get Operating System Info Report (Python)

Uses wmic under the hood to report Operating System Info (Win32_OperatingSystem) — no third-party packages required.

📜 VBScript (WSH)

Get Pointing Devices Report to File (VBScript)

Queries Win32_PointingDevice via WMI and writes Pointing Devices to a timestamped text file, handy for scheduled logon/…

📊 VBA (Excel)

Export Network Adapter Configuration to CSV via WMI (VBA)

Queries Win32_NetworkAdapterConfiguration via WMI and writes every Network Adapter Configuration row straight to a CSV …

🧬 WQL / PowerShell

Win32_Environment: Filtering Environment Variables (WQL WHERE)

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

📊 VBA (Excel)

Export Startup Programs to CSV via WMI (VBA)

Queries Win32_StartupCommand via WMI and writes every Startup Programs row straight to a CSV file in Documents, using p…

⚡ PowerShell 5.1+

Backup System Drivers List to JSON

Snapshots System Drivers from Win32_SystemDriver to a timestamped JSON file for later comparison or auditing.

🧬 WQL / PowerShell

Win32_LogicalDisk: Finding Associated Objects (WQL ASSOCIATORS OF)

Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Logic…