Tag: wmi

750 script(s) tagged “wmi”

πŸ“œ VBScript (WSH)

Get Startup Programs Report (VBScript)

Queries Win32_StartupCommand via WMI and prints Startup Programs to the console β€” no PowerShell required.

πŸ–₯️ Batch (CMD)

Get Local User Accounts Report (Batch)

Uses wmic to list Local User Accounts (Win32_UserAccount) straight from the command line.

⚑ PowerShell 5.1+

Backup Installed Hotfixes List to JSON

Snapshots Installed Hotfixes from Win32_QuickFixEngineering to a timestamped JSON file for later comparison or auditing.

🧬 WQL / PowerShell

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…

πŸ“œ VBScript (WSH)

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…

🟣 C# / .NET 6+

Get Local Groups Report (C#)

Queries Win32_Group via WMI (System.Management) and prints Local Groups to the console.

🟣 C# / .NET 6+

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.

🧬 WQL / PowerShell

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…

⚑ PowerShell 5.1+

Backup Connected Monitors List to JSON

Snapshots Connected Monitors from Win32_DesktopMonitor to a timestamped JSON file for later comparison or auditing.

πŸ“œ VBScript (WSH)

Get Network Login Profiles Report (VBScript)

Queries Win32_NetworkLoginProfile via WMI and prints Network Login Profiles to the console β€” no PowerShell required.

⚑ PowerShell 5.1+

Backup Time Zone Settings List to JSON

Snapshots Time Zone Settings from Win32_TimeZone to a timestamped JSON file for later comparison or auditing.

⚑ PowerShell 5.1+

Get Network Adapter Configuration Report

Queries Win32_NetworkAdapterConfiguration via WMI and reports Network Adapter Configuration in a formatted table, with …