Tag: wmi

750 script(s) tagged “wmi”

🧬 WQL / PowerShell

Win32_TimeZone: Sorting Time Zone Settings (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_Processor: Processor Info (WQL)

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

🖥️ Batch (CMD)

Get Operating System Info Report (Batch)

Uses wmic to list Operating System Info (Win32_OperatingSystem) straight from the command line.

⚡ PowerShell 5.1+

Get Operating System Info Report

Queries Win32_OperatingSystem via WMI and reports Operating System Info in a formatted table, with an optional CSV expo…

🧬 WQL / PowerShell

Win32_PageFileUsage: Sorting Page File Usage (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+

Backup Keyboard Info to JSON (C#)

Snapshots Keyboard Info (Win32_Keyboard) to a timestamped JSON file via System.Management and System.Text.Json.

🧬 WQL / PowerShell

Win32_PnPSignedDriver: Querying Signed Drivers Remotely (CIM Session)

Runs the same Win32_PnPSignedDriver WQL query against a remote computer over a CIM session — the modern, WinRM-based re…

🧬 WQL / PowerShell

Win32_NetworkLoginProfile: Filtering Network Login Profiles (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_SystemDriver: Filtering System Drivers (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_Process: Processes (WQL)

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

🧬 WQL / PowerShell

Win32_NetworkLoginProfile: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_NetworkLoginProfile exposes on the current system, inste…

⚡ PowerShell 5.1+

Get Physical Disk Drives Report

Queries Win32_DiskDrive via WMI and reports Physical Disk Drives in a formatted table, with an optional CSV export.