Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

Setting NCM Global Connection Profile in script

$
0
0

Hello,

 

I've found that this will set my node properties to "Yes" for "Manage node(s) with NCM":

    Invoke-SwisVerb$swisCirrus.NodesAddNodeToNCM @($NodeId)

 

 

But I'm unable to find a way to set the Global Connection Profile.

 

I assume it's another verb(?), but I can't seem to put it together.

 

I can get the profiles and select the ID for the one I want:

     $ConnectionProfiles=Invoke-SwisVerb$swisCirrus.NodesGetAllConnectionProfiles

     $NCMConnectionProfileId= ($ConnectionProfiles.ConnectionProfile.Name |? {$_.'#text'-eq$NCMProfileName}).Id

 

But I'm not sure how to get that associated with the node from there.

 

TIA

    

 

 


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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