Many of the CIM objects we work with in our computers come in multiple instances – disks and network cards are a couple of examples. Many times when you see examples you’ll see something like this:
$disks = Get-WmiObject -Class Win32_LogicalDisk
foreach… Read the full text.