Anyone know the API link for adding or changing Volume specific Custom properties? The basic reason for this is we have some drives that are set up to go to the server owner, but others that have a sponsored DB on it need to go to someone else. I have a script that searches for the DB's on each drive and if found will set the volumes custom property has_Hosted_DB on it to true. I know the current method to change a Node custom property is:
Set-SwisObject $swis -uri "swis://<servername>/Orion/Orion.Nodes/NodeID=$id" -Properties @{EngineID = $AS}
I have tried, but with no success:
Set-SwisObject $swis -uri "swis://<servername>/Orion/Orion.Nodes/NodeID=$id/Volume/VolumeID=$volumeID" -Properties @{Has_Hosted_DB = "True"}
Set-SwisObject $swis -uri "swis://<servername>/Orion/Orion.Nodes/NodeID=$id" -Properties @{Has_Hosted_DB = "True"}
Set-SwisObject $swis -uri "swis://<servername>/Orion/Orion.Nodes/NodeID=$id/volumeis=$VolumeID" -Properties@{Has_Hosted_DB = "True}