serverRoom/amt-sdk-20-0-0-1/IntelvProModule/PS_Snippets/Storage/Storage-Retrive Information that doesnt Require a session Handle3a.ps1

8 lines
462 B
PowerShell

$thirdPartyDataStorageServiceRef = $wsmanConnectionObject.NewReference("SELECT * FROM AMT_ThirdPartyDataStorageService WHERE Name='Intel(r) AMT Third Party Data Storage Service'")
$inputObject = $thirdPartyDataStorageServiceRef.CreateMethodInput("GetMTU")
$outputObject = $thirdPartyDataStorageServiceRef.InvokeMethod($inputObject)
$returnValue = $outputObject.GetProperty("ReturnValue")
if($returnValue -like "0")
{
$mtu = $outputObject.GetProperty("Mtu")
}