Batch modification of DCR device properties

Unanswered Question
Apr 25th, 2007

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?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Wed, 04/25/2007 - 07:52

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=

Actions

This Discussion