hello world.
so ive converted part of it as there are hundreds of examples in this forum to go by
$objWMIService = ObjGet("winmgmts:{impersonationLevel = impersonate}!" & $asset & "rootHPInstrumentedBios")
$colOperatingSystems = $objWMIService.ExecQuery("Select * from HP_BIOSSettingInterface...