Hi All,
Was trying to update customproperties on srm object earlier, found I had to build the customrproperties uri manually as it was unfilled in the DB for at least the StorageArray and Vserver tables.
Is that intentional? Shouldnt this either be filled or removed?
SELECT TOP 5 n.uri, n.customproperties.uri
from orion.nodes N
SELECT TOP 5 s.uri, s.CustomProperties.Uri
from orion.srm.StorageArrays s
SELECT TOP 5 v.uri, v.CustomProperties.uri
FROM Orion.SRM.VServers v
Foreach ($uri in $uris)
{
$uri+"/CustomProperties" | Set-SwisObject $swis -Properties $propstoupdate
Write-host "Updated $($uri) with $propstoupdate"
}