$thirdPartyDataStorageAdministrationServiceRef = $wsmanConnectionObject.NewReference("SELECT * FROM AMT_ThirdPartyDataStorageAdministrationService WHERE Name='Intel(r) AMT Third Party Data Storage Administration Service'") $inputObject = $thirdPartyDataStorageAdministrationServiceRef.CreateMethodInput("AddStorageFpaclEntry") $inputObject.SetProperty("AttrType", "1") $inputObject.SetProperty("ApplicationName", "SampleApp") $inputObject.SetProperty("VendorName", "VenIntel") $inputObject.SetProperty("IsPartner", "true") $inputObject.SetProperty("TotalAllocationSize", "49152") $outputObject = $thirdPartyDataStorageAdministrationServiceRef.InvokeMethod($inputObject) $returnValue = $outputObject.GetProperty("ReturnValue") if($returnValue -like "0") { $handle = $outputObject.GetProperty("Handle") }