The Node Details widget remains empty after adding a node by using PowerShell. If I change the Category field by by hand the widget gets populated. How can I ether trigger autodiscovery via code like on other nodes added by hand or modify category field via PowerShell code?
This code produces an error:
$newNodeProps = @{
Caption = $nodeName
IPAddress = $nodeIP
EngineID = 1
ObjectSubType = "ICMP"
Category = 1
}
$newNodeUri = New-SwisObject -SwisConnection $swis -EntityType "Orion.Nodes" -Properties $newNodeProps