Am passing the caption in $Caption to set that node to unmange using powershell but am getting cannot resolve could you please help me in this ?
I dont have the Uri for that node then how i can update the custom property only using the node name ??
##------------------------------------UnmanageNode & Update custom property in solarwidns-----------------------------------##
Invoke-SwisVerb $swis Orion.Nodes Unmanage @("N:$Caption", $start, $end, $false)
##Set-SwisObject -SwisConnection $swis -Uri $NodeCaption -Properties @{ "XXX" = $Decomission }
PS C:\> Invoke-SwisVerb $swis Orion.Nodes Unmanage @("N:$Caption", $start, $end, $false)
Invoke-SwisVerb : Cannot resolve property XXXX
At line:1 char:1
+ Invoke-SwisVerb $swis Orion.Nodes Unmanage @("N:$Caption", $start, $e ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1
+ FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb