Tag: wmi
750 script(s) tagged “wmi”
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β¦
Get Page File Usage Report (Batch)
Uses wmic to list Page File Usage (Win32_PageFileUsage) straight from the command line.
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β¦
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 β¦
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β¦
Win32_NetworkAdapterConfiguration: Filtering Network Adapter Configuration (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_NetworkAdapterConfiguration, starting from a LIKE '%' wildcard you custβ¦
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β¦
Get Installed MSI Products Report (Python)
Uses wmic under the hood to report Installed MSI Products (Win32_Product) β no third-party packages required.
Get Processes Report (Batch)
Uses wmic to list Processes (Win32_Process) straight from the command line.
Get Processes Report (VBScript)
Queries Win32_Process via WMI and prints Processes to the console β no PowerShell required.
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 β¦
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β¦