Tag: wmi

750 script(s) tagged “wmi”

🐍 Python 3.10+

Backup Network Adapter Configuration to JSON (Python)

Snapshots Network Adapter Configuration (Win32_NetworkAdapterConfiguration) to a timestamped JSON file for later compar…

πŸ“Š VBA (Excel)

Export Motherboard Info to CSV via WMI (VBA)

Queries Win32_BaseBoard via WMI and writes every Motherboard Info row straight to a CSV file in Documents, using plain …

🟣 C# / .NET 6+

Get Network Adapters Report (C#)

Queries Win32_NetworkAdapter via WMI (System.Management) and prints Network Adapters to the console.

⚑ PowerShell 5.1+

Watch Network Login Profiles for Changes

Polls Win32_NetworkLoginProfile on an interval and prints a line whenever the Network Login Profiles count changes β€” a …

⚑ PowerShell 5.1+

Watch Time Zone Settings for Changes

Polls Win32_TimeZone on an interval and prints a line whenever the Time Zone Settings count changes β€” a lightweight way…

⚑ PowerShell 5.1+

Watch Sound Devices for Changes

Polls Win32_SoundDevice on an interval and prints a line whenever the Sound Devices count changes β€” a lightweight way t…

🟣 C# / .NET 6+

Get Sound Devices Report (C#)

Queries Win32_SoundDevice via WMI (System.Management) and prints Sound Devices to the console.

⚑ PowerShell 5.1+

Watch Printers for Changes

Polls Win32_Printer on an interval and prints a line whenever the Printers count changes β€” a lightweight way to notice …

🐍 Python 3.10+

Backup Battery Info to JSON (Python)

Snapshots Battery Info (Win32_Battery) to a timestamped JSON file for later comparison or auditing.

🐍 Python 3.10+

Export Network Adapter Configuration to CSV (Python)

Exports Network Adapter Configuration (Win32_NetworkAdapterConfiguration) to a timestamped CSV file via wmic.

🧬 WQL / PowerShell

Win32_Processor: Discovering Available Properties (Get-CimClass)

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

πŸ“Š VBA (Excel)

Load USB Controllers into Excel via WMI

Queries Win32_USBController via GetObject("winmgmts:") and dumps every USB Controllers row straight onto the active wor…