Hi all,
I'm having trouble with getting an element from an Object of type ManagementObjectCollection without using a foreach statement.
I'm returning 1 ManagementObject from a WMI Query and would perfer to not use a foreach statement when only getting the 1 object.
Does anyone know how to do this correctly?
thanks,
Donal