Tag: wmi

750 script(s) tagged “wmi”

🟣 C# / .NET 6+

Get Network Adapter Configuration Report (C#)

Queries Win32_NetworkAdapterConfiguration via WMI (System.Management) and prints Network Adapter Configuration to the c…

πŸ“„ JScript (WSH)

Get Network Login Profiles Report (JScript)

Queries Win32_NetworkLoginProfile via WMI and prints Network Login Profiles to the console β€” JScript, VBScript's WSH si…

🧬 WQL / PowerShell

Win32_CDROMDrive: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🧬 WQL / PowerShell

Win32_Process: Discovering Available Properties (Get-CimClass)

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

πŸ–₯️ Batch (CMD)

Get Network Login Profiles Report (Batch)

Uses wmic to list Network Login Profiles (Win32_NetworkLoginProfile) straight from the command line.

🐍 Python 3.10+

Get Time Zone Settings Report (Python)

Uses wmic under the hood to report Time Zone Settings (Win32_TimeZone) β€” no third-party packages required.

πŸ–₯️ Batch (CMD)

Export USB Controllers to CSV (Batch)

Uses wmic to export USB Controllers (Win32_USBController) to a timestamped CSV file.

πŸ“Š VBA (Excel)

Load Installed Hotfixes into Excel via WMI

Queries Win32_QuickFixEngineering via GetObject("winmgmts:") and dumps every Installed Hotfixes row straight onto the a…

πŸ“œ VBScript (WSH)

Get Computer System Info Report to File (VBScript)

Queries Win32_ComputerSystem via WMI and writes Computer System Info to a timestamped text file, handy for scheduled lo…

🐍 Python 3.10+

Export Local Groups to CSV (Python)

Exports Local Groups (Win32_Group) to a timestamped CSV file via wmic.

⚑ PowerShell 5.1+

Watch Network Adapter Configuration for Changes

Polls Win32_NetworkAdapterConfiguration on an interval and prints a line whenever the Network Adapter Configuration cou…

🟣 C# / .NET 6+

Backup Local Groups to JSON (C#)

Snapshots Local Groups (Win32_Group) to a timestamped JSON file via System.Management and System.Text.Json.