Is there a way to add nodes using the Powershell Module PowerOrion (OrionSDK) defining custom properties.
Say I use the sample: CRUD.AddWMINode.ps1 but I want to specify:
1. Uncheck/not get App Insight Applications from "Resources"
2. The custom properties. We have a required field "Location" but if all 200 nodes need the same location it would be great if I could just set the property from the script.
Any help is greatly appreciated.
1. There is not currently an API for controlling the assignment of AppInsight applications.
2. See this sample for how to set custom property values: https://github.com/solarwinds/OrionSDK/blob/master/Samples/PowerShell/CRUD.SettingCustomProperty.ps1. You can't do it in the same operation as adding the node - add the node first and then set the custom property values right after.