WMIC couldn't do this natively without ugly scripts. Register-CimIndicationEvent lets you watch for new processes or USB drives.
). This is ideal for running multiple commands without repeating the "wmic" prefix. Non-interactive Mode wmic help new
(Get-CimInstance Win32_Processor).Name
Get-CimInstance Win32_DiskDrive | Select Model, Size, Partitions WMIC couldn't do this natively without ugly scripts