Hi, I'm trying to create a powershell script with orion sdk to update the global thresholds of swap space volume in Orion.Thresholds entity.
Using below script but getting an error as the Uri is NULL.
$uri = Get-SwisData $swis "SELECT Uri FROM Orion.Thresholds WHERE InstanceId = 13"
Set-SwisObject $swis -Uri $uri -Properties @{ GlobalWarningValue = 11 }