Try the fnWMIService() UDF.