Brand new to Solarwinds, and we're quickly seeing the need to automate some of the tasks.
Is it possible to use the SDK through Powershell to add nodes by DNS hostname instead of through IP address?
Hello,
since you're new I assume you have the latest SDK.
Go to Orion SDK samples (by default c:\Program Files (x86)\SolarWinds\Orion SDK\Samples\PowerShell\) and follow the CRUD.AddNode.ps1 example. Just to the "$newNodeProps = @{ }" hashtable add the DNS property and set the DynamicIP=$True
Some more info about documentation you can see e.g. also here.
Then just feed the script in loop with data from your file/database/whatever.
I hope it helped.
Honza
Thanks for your help!
Should I remove the "IPAddress" field, then?