Tag: hardware
286 script(s) tagged “hardware”
Backup CD/DVD Drives List to JSON
Snapshots CD/DVD Drives from Win32_CDROMDrive to a timestamped JSON file for later comparison or auditing.
Win32_BaseBoard: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_BaseB…
Get Pointing Devices Report (VBScript)
Queries Win32_PointingDevice via WMI and prints Pointing Devices to the console — no PowerShell required.
Get Processor Info Report (Batch)
Uses wmic to list Processor Info (Win32_Processor) straight from the command line.
Load Processor Info into Excel via WMI
Queries Win32_Processor via GetObject("winmgmts:") and dumps every Processor Info row straight onto the active workshee…
Win32_Battery: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_Battery exposes on the current system, instead of guessi…
Export Video Controllers to CSV via WMI (VBA)
Queries Win32_VideoController via WMI and writes every Video Controllers row straight to a CSV file in Documents, using…
Win32_USBController: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_USBController via Register-CimIndicationEvent — real WQL event qu…
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…
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…