Tag: system-info

89 script(s) tagged “system-info”

🧬 WQL / PowerShell

Win32_TimeZone: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_TimeZone exposes on the current system, instead of guess…

🧬 WQL / PowerShell

Win32_OperatingSystem: Operating System Info (WQL)

A minimal WQL reference query against Win32_OperatingSystem — the raw SELECT statement plus a one-line runner, useful f…

🧬 WQL / PowerShell

Win32_OperatingSystem: Sorting Operating System Info (WQL has no ORDER BY)

WQL has no ORDER BY clause — this shows the standard workaround of piping Get-CimInstance results through Sort-Object o…

🟣 C# / .NET 6+

Get Time Zone Settings Report (C#)

Queries Win32_TimeZone via WMI (System.Management) and prints Time Zone Settings to the console.

⚡ PowerShell 5.1+

Backup Computer System Info List to JSON

Snapshots Computer System Info from Win32_ComputerSystem to a timestamped JSON file for later comparison or auditing.

🧬 WQL / PowerShell

Win32_Environment: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_Environment via Register-CimIndicationEvent — real WQL event quer…

🧬 WQL / PowerShell

Win32_Environment: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_Environment exposes on the current system, instead of gu…

🧬 WQL / PowerShell

Win32_OperatingSystem: Filtering Operating System Info (WQL WHERE)

Shows the WQL WHERE clause syntax against Win32_OperatingSystem, starting from a LIKE '%' wildcard you customize with a…

⚡ PowerShell 5.1+

Watch Time Zone Settings for Changes

Polls Win32_TimeZone on an interval and prints a line whenever the Time Zone Settings count changes — a lightweight way…

📄 JScript (WSH)

Get Computer System Info Report (JScript)

Queries Win32_ComputerSystem via WMI and prints Computer System Info to the console — JScript, VBScript's WSH sibling l…

📜 VBScript (WSH)

Get Environment Variables Report to File (VBScript)

Queries Win32_Environment via WMI and writes Environment Variables to a timestamped text file, handy for scheduled logo…

⚡ PowerShell 5.1+

Backup Operating System Info List to JSON

Snapshots Operating System Info from Win32_OperatingSystem to a timestamped JSON file for later comparison or auditing.