Tag: wmi

750 script(s) tagged “wmi”

🟣 C# / .NET 6+

Backup Logical Disks to JSON (C#)

Snapshots Logical Disks (Win32_LogicalDisk) to a timestamped JSON file via System.Management and System.Text.Json.

🐍 Python 3.10+

Get Computer System Info Report (Python)

Uses wmic under the hood to report Computer System Info (Win32_ComputerSystem) β€” no third-party packages required.

🟣 C# / .NET 6+

Backup Network Shares to JSON (C#)

Snapshots Network Shares (Win32_Share) to a timestamped JSON file via System.Management and System.Text.Json.

⚑ PowerShell 5.1+

Watch Startup Programs for Changes

Polls Win32_StartupCommand on an interval and prints a line whenever the Startup Programs count changes β€” a lightweight…

🟣 C# / .NET 6+

Get Logical Disks Report (C#)

Queries Win32_LogicalDisk via WMI (System.Management) and prints Logical Disks to the console.

🐍 Python 3.10+

Backup Logical Disks to JSON (Python)

Snapshots Logical Disks (Win32_LogicalDisk) to a timestamped JSON file for later comparison or auditing.

🐍 Python 3.10+

Get Local User Accounts Report (Python)

Uses wmic under the hood to report Local User Accounts (Win32_UserAccount) β€” no third-party packages required.

πŸ“Š VBA (Excel)

Export Processes to CSV via WMI (VBA)

Queries Win32_Process via WMI and writes every Processes row straight to a CSV file in Documents, using plain VBA file …

πŸ“œ VBScript (WSH)

Get Services Report (VBScript)

Queries Win32_Service via WMI and prints Services to the console β€” no PowerShell required.

⚑ PowerShell 5.1+

Watch USB Controllers for Changes

Polls Win32_USBController on an interval and prints a line whenever the USB Controllers count changes β€” a lightweight w…

🐍 Python 3.10+

Get Network Login Profiles Report (Python)

Uses wmic under the hood to report Network Login Profiles (Win32_NetworkLoginProfile) β€” no third-party packages require…

🧬 WQL / PowerShell

Win32_Process: Querying Processes Remotely (CIM Session)

Runs the same Win32_Process WQL query against a remote computer over a CIM session β€” the modern, WinRM-based replacemen…