$endpointAccessControlServiceRef = $wsmanConnectionObject.NewReference("SELECT * FROM AMT_EndpointAccessControlService WHERE Name='Intel(r) AMT Endpoint Access Control Service'") $endpointAccessControlServiceInstance = $endpointAccessControlServiceRef.Get() $enabledState = $endpointAccessControlServiceInstance.GetProperty("EnabledState")