Hello,
I am new to this forum. I downloaded the Swis SDK 1.9 and installed on my computer.
I tried to test adding a WMI node to the Orion monitoring system in my environment using the sample PowerShell script "CRUD.AddWmiNode.ps1" from the SDK. I edited the script match my settings before I ran it, but the script failed at line 75 where it attempted to add the node. The error was:
New-SwisObject : Entity â€EntityType Orion.Nodes â€Properties not found.
At C:\Scriptings\powershell\server_build\v1.7\CRUD.AddWMINode.ps1:93 char:15
+ $newNodeUri = New-SwisObject $swis –EntityType "Orion.Nodes" –Properties $ne ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [New-SwisObject], FaultException`1
+ FullyQualifiedErrorId : SwisError,SwisPowerShell.NewSwisObject
What did I do wrong?
I greatly appreciate it if someone can let me the reason why this script failed.
Thanks.