Can anyone help me in this using powershell ?
$swis1 = Connect-Swis -Hostname $OrionServer -Username $Username -Password $Password
get-content = Get-SwisData $swis1 -Query "Select NodeID, Caption from Orion.Nodes where Caption like '%01'"
NodeID Caption
------ -------
1 xxx01
4 yyy01
5 ZZZ0
I NEED TO CHanGE LIKE BELOW TABLE USING POWERSHELL
NodeID Caption
------ -------
1 xxx0
4 yyy0
5 ZZZ0
Sample for one object:
##Set-SwisObject -SwisConnection $swis1 -Uri [swis://#####/Orion/Orion.Nodes/NodeID=$($nodeId)] -properties [json formatted caption]