Hello everyone,
I just found that there is a new UPS option under "list resources". Is there a way to add that to a bunch of Nodes via the SDK? Im am trying to use PowerShell and I can connect and get my list of nodes I want but I cannot find any example how to add anything except an interface.
$Nodes = Get-SwisData -SwisConnection $swis -Query 'SELECT NodeID, Caption FROM Orion.Nodes' $UPSes = $Nodes | Where {$_.Caption -like '*UPS*'} foreach($UPS in $UPSes){ $UPS.NodeID Get-SwisObject $swis -Uri "swis://$hostname/Orion/Orion.Nodes/NodeID=$($UPS.NodeID)" }
I was able to connect to the nodes and run an interface discover on them but the UPS resource does not appear when using that.