$biosElementRef = $wsmanConnectionObject.NewReference("SELECT * FROM CIM_BIOSElement WHERE Name='Primary BIOS'") $biosElementInstance = $biosElementRef.Get() $version = $biosElementInstance.GetProperty("Version") $elementName = $biosElementInstance.GetProperty("ElementName")