Tag: wmi

750 script(s) tagged “wmi”

🧬 WQL / PowerShell

Win32_BaseBoard: Sorting Motherboard 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…

πŸ–₯️ Batch (CMD)

Get Page File Usage Report (Batch)

Uses wmic to list Page File Usage (Win32_PageFileUsage) straight from the command line.

🧬 WQL / PowerShell

Win32_SoundDevice: Filtering Sound Devices (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_DesktopMonitor: Filtering Connected Monitors (WQL WHERE)

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

🧬 WQL / PowerShell

Win32_PointingDevice: Sorting Pointing Devices (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_NetworkAdapterConfiguration: Filtering Network Adapter Configuration (WQL WHERE)

Shows the WQL WHERE clause syntax against Win32_NetworkAdapterConfiguration, starting from a LIKE '%' wildcard you cust…

🧬 WQL / PowerShell

Win32_SystemDriver: Finding Associated Objects (WQL ASSOCIATORS OF)

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

🐍 Python 3.10+

Get Installed MSI Products Report (Python)

Uses wmic under the hood to report Installed MSI Products (Win32_Product) β€” no third-party packages required.

πŸ–₯️ Batch (CMD)

Get Processes Report (Batch)

Uses wmic to list Processes (Win32_Process) straight from the command line.

πŸ“œ VBScript (WSH)

Get Processes Report (VBScript)

Queries Win32_Process via WMI and prints Processes to the console β€” no PowerShell required.

🧬 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…