Tag: wmi
750 script(s) tagged “wmi”
Backup Logical Disks to JSON (C#)
Snapshots Logical Disks (Win32_LogicalDisk) to a timestamped JSON file via System.Management and System.Text.Json.
Get Computer System Info Report (Python)
Uses wmic under the hood to report Computer System Info (Win32_ComputerSystem) β no third-party packages required.
Backup Network Shares to JSON (C#)
Snapshots Network Shares (Win32_Share) to a timestamped JSON file via System.Management and System.Text.Json.
Watch Startup Programs for Changes
Polls Win32_StartupCommand on an interval and prints a line whenever the Startup Programs count changes β a lightweightβ¦
Get Logical Disks Report (C#)
Queries Win32_LogicalDisk via WMI (System.Management) and prints Logical Disks to the console.
Backup Logical Disks to JSON (Python)
Snapshots Logical Disks (Win32_LogicalDisk) to a timestamped JSON file for later comparison or auditing.
Get Local User Accounts Report (Python)
Uses wmic under the hood to report Local User Accounts (Win32_UserAccount) β no third-party packages required.
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 β¦
Get Services Report (VBScript)
Queries Win32_Service via WMI and prints Services to the console β no PowerShell required.
Watch USB Controllers for Changes
Polls Win32_USBController on an interval and prints a line whenever the USB Controllers count changes β a lightweight wβ¦
Get Network Login Profiles Report (Python)
Uses wmic under the hood to report Network Login Profiles (Win32_NetworkLoginProfile) β no third-party packages requireβ¦
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β¦