Tag: system-info

89 script(s) tagged “system-info”

🧬 WQL / PowerShell

Win32_TimeZone: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🐍 Python 3.10+

Export Operating System Info to CSV (Python)

Exports Operating System Info (Win32_OperatingSystem) to a timestamped CSV file via wmic.

πŸ“œ VBScript (WSH)

Get Time Zone Settings Report to File (VBScript)

Queries Win32_TimeZone via WMI and writes Time Zone Settings to a timestamped text file, handy for scheduled logon/logo…

🧬 WQL / PowerShell

Win32_Environment: Sorting Environment Variables (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…

πŸ“œ VBScript (WSH)

Get Environment Variables Report (VBScript)

Queries Win32_Environment via WMI and prints Environment Variables to the console β€” no PowerShell required.

🧬 WQL / PowerShell

Win32_OperatingSystem: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_OperatingSystem via Register-CimIndicationEvent β€” real WQL event …

🐍 Python 3.10+

Export Computer System Info to CSV (Python)

Exports Computer System Info (Win32_ComputerSystem) to a timestamped CSV file via wmic.

⚑ PowerShell 5.1+

Get Environment Variables Report

Queries Win32_Environment via WMI and reports Environment Variables in a formatted table, with an optional CSV export.

🧬 WQL / PowerShell

Win32_ComputerSystem: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_ComputerSystem via Register-CimIndicationEvent β€” real WQL event q…

🐍 Python 3.10+

Get Computer System Info Report (Python)

Uses wmic under the hood to report Computer System Info (Win32_ComputerSystem) β€” no third-party packages required.

🐍 Python 3.10+

Backup Operating System Info to JSON (Python)

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

⚑ PowerShell 5.1+

Watch Operating System Info for Changes

Polls Win32_OperatingSystem on an interval and prints a line whenever the Operating System Info count changes β€” a light…