Tag: wmi
750 script(s) tagged “wmi”
Get USB Controllers Report (VBScript)
Queries Win32_USBController via WMI and prints USB Controllers to the console — no PowerShell required.
Win32_DiskDrive: Querying Physical Disk Drives Remotely (CIM Session)
Runs the same Win32_DiskDrive WQL query against a remote computer over a CIM session — the modern, WinRM-based replacem…
Get Motherboard Info Report (C#)
Queries Win32_BaseBoard via WMI (System.Management) and prints Motherboard Info to the console.
Win32_Share: Sorting Network Shares (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_Service: Querying Services Remotely (CIM Session)
Runs the same Win32_Service WQL query against a remote computer over a CIM session — the modern, WinRM-based replacemen…
Export Logical Disks to CSV (Batch)
Uses wmic to export Logical Disks (Win32_LogicalDisk) to a timestamped CSV file.
Win32_NetworkAdapterConfiguration: Querying Network Adapter Configuration Remotely (CIM Session)
Runs the same Win32_NetworkAdapterConfiguration WQL query against a remote computer over a CIM session — the modern, Wi…
Win32_BaseBoard: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_BaseBoard exposes on the current system, instead of gues…
Watch Physical Disk Drives for Changes
Polls Win32_DiskDrive on an interval and prints a line whenever the Physical Disk Drives count changes — a lightweight …
Export Physical Disk Drives to CSV via WMI (VBA)
Queries Win32_DiskDrive via WMI and writes every Physical Disk Drives row straight to a CSV file in Documents, using pl…
Backup Signed Drivers List to JSON
Snapshots Signed Drivers from Win32_PnPSignedDriver to a timestamped JSON file for later comparison or auditing.
Get Services Report (Python)
Uses wmic under the hood to report Services (Win32_Service) — no third-party packages required.