$setupAndConfigurationServiceRef = $wsmanConnectionObject.NewReference("SELECT * FROM AMT_SetupAndConfigurationService WHERE Name='Intel(r) AMT Setup and Configuration Service'") $inputObject = $setupAndConfigurationServiceRef.CreateMethodInput("SetTLSPSK") $inputObject.SetProperty("PID", "AAAAAAAAAAA=") $inputObject.SetProperty("PPS", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") $outputObject = $setupAndConfigurationServiceRef.InvokeMethod($inputObject) $returnValue = $outputObject.GetProperty("ReturnValue")