Tag: wmi
750 script(s) tagged “wmi”
π Python 3.10+
Backup Network Shares to JSON (Python)
Snapshots Network Shares (Win32_Share) to a timestamped JSON file for later comparison or auditing.
β‘ PowerShell 5.1+
Watch Local Groups for Changes
Polls Win32_Group on an interval and prints a line whenever the Local Groups count changes β a lightweight way to noticβ¦
𧬠WQL / PowerShell
Win32_CDROMDrive: Querying CD/DVD Drives Remotely (CIM Session)
Runs the same Win32_CDROMDrive WQL query against a remote computer over a CIM session β the modern, WinRM-based replaceβ¦
𧬠WQL / PowerShell
Win32_OperatingSystem: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_OperatingSystem exposes on the current system, instead oβ¦
π£ C# / .NET 6+
Backup Time Zone Settings to JSON (C#)
Snapshots Time Zone Settings (Win32_TimeZone) to a timestamped JSON file via System.Management and System.Text.Json.
π₯οΈ Batch (CMD)
Get Time Zone Settings Report (Batch)
Uses wmic to list Time Zone Settings (Win32_TimeZone) straight from the command line.