$setupAndConfigurationServiceRef = $wsmanConnectionObject.NewReference("SELECT * FROM AMT_SetupAndConfigurationService WHERE Name='Intel(r) AMT Setup and Configuration Service'") $inputObject = $setupAndConfigurationServiceRef.CreateMethodInput("CommitChanges") $outputObject = $setupAndConfigurationServiceRef.InvokeMethod($inputObject) $returnValue = $outputObject.GetProperty("ReturnValue")