cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
848
Views
5
Helpful
1
Replies

Batch modification of DCR device properties

yjdabear
VIP Alumni
VIP Alumni

Some of the DCR devices retain the .company.com part in their display names while havinig the domain name field empty. What's the quickest way to get these fixed up, without exporting/re-importing, if possible?

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

Without exporting/importing? I'd script dcrcli to do this. Basically the flow would be:

lsids all (get all DCR IDs and display names)

for each display name that does not end in company.com:

mod id= dn=