Announcement

Collapse
No announcement yet.

Renaming Distribution List in Active Directory - SCRIPT

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Renaming Distribution List in Active Directory - SCRIPT

    Hi

    A newbie here at my wits end googlising this problem

    I currently have about 90 + distribtion lists i need them all renamed

    for example

    DL-XXX-Name1-xxx renamed to DL-XXX-Name2-xxx

    It can be manually done, but is there a way to write a script that will automatically do this?

    i've try the following commands
    Set objDomain = Getobject("LDAP://ou=ou1, dc=au, dc=company, dc=net")
    objDomain.moveHere _ "LDAP://cn=testrename, ou=ou1, dc=au, dc=company, dc=net", "cn=testcomplete"

    But the objDomain command seems to fail

    Anyone had any experience doing this before?

    I need to Move this quote Active Directory can someone help me with this aswell
    Last edited by toyrcr; 2nd May 2007, 02:57. Reason: Posted in wrong forum :(

  • #2
    Re: Renaming Distribution List in Active Directory - SCRIPT

    Moved to relevant forum.

    Comment

    Working...
    X