Tag: wmi

750 script(s) tagged “wmi”

🐍 Python 3.10+

Export Startup Programs to CSV (Python)

Exports Startup Programs (Win32_StartupCommand) to a timestamped CSV file via wmic.

⚑ PowerShell 5.1+

Backup USB Controllers List to JSON

Snapshots USB Controllers from Win32_USBController to a timestamped JSON file for later comparison or auditing.

πŸ“„ JScript (WSH)

Get Network Adapter Configuration Report (JScript)

Queries Win32_NetworkAdapterConfiguration via WMI and prints Network Adapter Configuration to the console β€” JScript, VB…

🧬 WQL / PowerShell

Win32_PnPSignedDriver: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_PnPSignedDriver via Register-CimIndicationEvent β€” real WQL event …

🧬 WQL / PowerShell

Win32_TimeZone: Querying Time Zone Settings Remotely (CIM Session)

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

🐍 Python 3.10+

Export Keyboard Info to CSV (Python)

Exports Keyboard Info (Win32_Keyboard) to a timestamped CSV file via wmic.

πŸ“Š VBA (Excel)

Export Local User Accounts to CSV via WMI (VBA)

Queries Win32_UserAccount via WMI and writes every Local User Accounts row straight to a CSV file in Documents, using p…

πŸ–₯️ Batch (CMD)

Export Physical Disk Drives to CSV (Batch)

Uses wmic to export Physical Disk Drives (Win32_DiskDrive) to a timestamped CSV file.

🟣 C# / .NET 6+

Get Page File Usage Report (C#)

Queries Win32_PageFileUsage via WMI (System.Management) and prints Page File Usage to the console.

🐍 Python 3.10+

Export BIOS Info to CSV (Python)

Exports BIOS Info (Win32_BIOS) to a timestamped CSV file via wmic.

πŸ–₯️ Batch (CMD)

Get Battery Info Report (Batch)

Uses wmic to list Battery Info (Win32_Battery) straight from the command line.

🐍 Python 3.10+

Backup Processes to JSON (Python)

Snapshots Processes (Win32_Process) to a timestamped JSON file for later comparison or auditing.