Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20625

Re: Add WMI node with CRUD.AddWMINode.ps1 failed

$
0
0

This line:

 

$newNodeUri = New-SwisObject $swis –EntityType "Orion.Nodes" –Properties $newNodeProps

 

Should be this:

 

$newNodeUri = New-SwisObject $swis -EntityType "Orion.Nodes" -Properties $newNodeProps

 

Those look almost identical, but the - character in -EntityType and -Properties has been changed from a regular hyphen to some kind of typographic dash character. PowerShell doesn't like it.


Viewing all articles
Browse latest Browse all 20625

Trending Articles



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