Running LMS 2.6.
We are looking to change our internal network domain name. Can anyone advise if there is a scripted, batched or global type change I can implement within Common services to change the domain name of all devices in DCR. Managing 500 devices so if I have to do it all manually, it will be quite painful.
You can export all the devices from DCR to a CSV file, then do a search and replace on that file, and re-import it back into DCR taking the file contents as the authoritative source. Of course, if the display names will also be changing, you might want to script this using dcrcli. The pseudo-code would be:
devices=`dcrcli -u admin cmd=lsids all`
foreach id ($devices)
dcrcli -u admin cmd=mod id=$id dn=new-display-name -a domain_name=new.domain.name