Quantcast
Channel: THWACK: All Content - All Communities
Viewing all articles
Browse latest Browse all 20518

Add WMI node with CRUD.AddWMINode.ps1 failed

$
0
0

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.


Viewing all articles
Browse latest Browse all 20518

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>