Tag: wmi
750 script(s) tagged “wmi”
Get Network Adapter Configuration Report (C#)
Queries Win32_NetworkAdapterConfiguration via WMI (System.Management) and prints Network Adapter Configuration to the cβ¦
Get Network Login Profiles Report (JScript)
Queries Win32_NetworkLoginProfile via WMI and prints Network Login Profiles to the console β JScript, VBScript's WSH siβ¦
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β¦
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β¦
Get Network Login Profiles Report (Batch)
Uses wmic to list Network Login Profiles (Win32_NetworkLoginProfile) straight from the command line.
Get Time Zone Settings Report (Python)
Uses wmic under the hood to report Time Zone Settings (Win32_TimeZone) β no third-party packages required.
Export USB Controllers to CSV (Batch)
Uses wmic to export USB Controllers (Win32_USBController) to a timestamped CSV file.
Load Installed Hotfixes into Excel via WMI
Queries Win32_QuickFixEngineering via GetObject("winmgmts:") and dumps every Installed Hotfixes row straight onto the aβ¦
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β¦
Export Local Groups to CSV (Python)
Exports Local Groups (Win32_Group) to a timestamped CSV file via wmic.
Watch Network Adapter Configuration for Changes
Polls Win32_NetworkAdapterConfiguration on an interval and prints a line whenever the Network Adapter Configuration couβ¦
Backup Local Groups to JSON (C#)
Snapshots Local Groups (Win32_Group) to a timestamped JSON file via System.Management and System.Text.Json.