Tag: system-info

89 script(s) tagged “system-info”

🟣 C# / .NET 6+

Get Environment Variables Report (C#)

Queries Win32_Environment via WMI (System.Management) and prints Environment Variables to the console.

⚡ PowerShell 5.1+

Get Time Zone Settings Report

Queries Win32_TimeZone via WMI and reports Time Zone Settings in a formatted table, with an optional CSV export.

📊 VBA (Excel)

Export Operating System Info to CSV via WMI (VBA)

Queries Win32_OperatingSystem via WMI and writes every Operating System Info row straight to a CSV file in Documents, u…

🧬 WQL / PowerShell

Win32_ComputerSystem: Finding Associated Objects (WQL ASSOCIATORS OF)

Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Compu…

🟣 C# / .NET 6+

Get Operating System Info Report (C#)

Queries Win32_OperatingSystem via WMI (System.Management) and prints Operating System Info to the console.

📜 VBScript (WSH)

Get Operating System Info Report (VBScript)

Queries Win32_OperatingSystem via WMI and prints Operating System Info to the console — no PowerShell required.

📄 JScript (WSH)

Get Operating System Info Report (JScript)

Queries Win32_OperatingSystem via WMI and prints Operating System Info to the console — JScript, VBScript's WSH sibling…

🟣 C# / .NET 6+

Backup Operating System Info to JSON (C#)

Snapshots Operating System Info (Win32_OperatingSystem) to a timestamped JSON file via System.Management and System.Tex…

🧬 WQL / PowerShell

Win32_ComputerSystem: Filtering Computer System Info (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_ComputerSystem: Sorting Computer 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…

🧬 WQL / PowerShell

Win32_OperatingSystem: Finding Associated Objects (WQL ASSOCIATORS OF)

Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Opera…

⚡ PowerShell 5.1+

Watch Environment Variables for Changes

Polls Win32_Environment on an interval and prints a line whenever the Environment Variables count changes — a lightweig…