This script was created to help update IP settings in bulk across multiple subnets.
I have an IPAM Custom Field that certain IP's have set that spans multiple subnets. I can search for that Custom Field but I cannot edit in Bulk. This script allows me to set the name of the Custom Field and then set a value for all of the IP Addresses that match it.
You'll want to update the first few lines in the script for your Orion deployment. Everything in red below will need to be updated to what you want to change.
$OrionHostname = '10.1.1.10'
$OrionUsername = 'Admin'
$OrionPassword = 'Password1'
$CustomFieldName = 'Custom_Field_1'
$CustomFieldValue = 'hello world'
$PropertyName = 'SkipScan'
$PropertyValue = 'True'
*NOTE: Whichever account that you use for the script needs to be an IPAM Administrator.
I created a Custom Field in IPAM called 'Custom_Field_1' and manually set the value to 'hello world'. After updating the script and running it, it set the SkipScan to True/Yes, effectively disabling scanning for that IP.
Here is a quick list using the SDK/SWQL Studio of IP Address Properties that can use updated.
You can download the script here
v v v v v