6 lines
548 B
PowerShell
6 lines
548 B
PowerShell
$thirdPartyDataStorageServiceRef = $wsmanConnectionObject.NewReference("SELECT * FROM AMT_ThirdPartyDataStorageService WHERE Name='Intel(r) AMT Third Party Data Storage Service'")
|
|
$inputObject = $thirdPartyDataStorageServiceRef.CreateMethodInput("RemoveApplication")
|
|
# $sessionHandle is the session handle returned by 'RegisterApplication' method.
|
|
$inputObject.SetProperty("SessionHandle", $sessionHandle.ToString())
|
|
$outputObject = $thirdPartyDataStorageServiceRef.InvokeMethod($inputObject)
|
|
$returnValue = $outputObject.GetProperty("ReturnValue") |