Tag: wmi
750 script(s) tagged “wmi”
Get Startup Programs Report (VBScript)
Queries Win32_StartupCommand via WMI and prints Startup Programs to the console β no PowerShell required.
Get Local User Accounts Report (Batch)
Uses wmic to list Local User Accounts (Win32_UserAccount) straight from the command line.
Backup Installed Hotfixes List to JSON
Snapshots Installed Hotfixes from Win32_QuickFixEngineering to a timestamped JSON file for later comparison or auditing.
Win32_PointingDevice: Querying Pointing Devices Remotely (CIM Session)
Runs the same Win32_PointingDevice WQL query against a remote computer over a CIM session β the modern, WinRM-based repβ¦
Get Sound Devices Report to File (VBScript)
Queries Win32_SoundDevice via WMI and writes Sound Devices to a timestamped text file, handy for scheduled logon/logoffβ¦
Get Local Groups Report (C#)
Queries Win32_Group via WMI (System.Management) and prints Local Groups to the console.
Backup Page File Usage to JSON (C#)
Snapshots Page File Usage (Win32_PageFileUsage) to a timestamped JSON file via System.Management and System.Text.Json.
Win32_OperatingSystem: Querying Operating System Info Remotely (CIM Session)
Runs the same Win32_OperatingSystem WQL query against a remote computer over a CIM session β the modern, WinRM-based reβ¦
Backup Connected Monitors List to JSON
Snapshots Connected Monitors from Win32_DesktopMonitor to a timestamped JSON file for later comparison or auditing.
Get Network Login Profiles Report (VBScript)
Queries Win32_NetworkLoginProfile via WMI and prints Network Login Profiles to the console β no PowerShell required.
Backup Time Zone Settings List to JSON
Snapshots Time Zone Settings from Win32_TimeZone to a timestamped JSON file for later comparison or auditing.
Get Network Adapter Configuration Report
Queries Win32_NetworkAdapterConfiguration via WMI and reports Network Adapter Configuration in a formatted table, with β¦