Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How do i change in bulk manager name for specipic distribution list

share|improve this question
    
It looks like you're getting a few powershell answers. I strongly suggest that you have a look into PowerShell as it's an incredibly useful tool for dealing with exchange and Active Directory. Also, if you find an answer useful, you should give it an upvote and if it answers your question, give it the tick-mark so that the person who answered can get some hard-earned reputation for their effort. –  Mark Henderson Mar 21 '12 at 20:49

1 Answer 1

up vote 2 down vote accepted

PowerShell will help you out here. Get-ADGroupMember will get you the contents of your list, and Set-ADUser will modify the parameters of each user.

You're looking for something like

Get-AdGroupMember -Identity "DL Name" | Set-ADUser -Manager "New Manager" -WhatIf

That will show you what users it's making the change to, and confirm that it can find the new manager name you gave it. When you're satisfied, remove the -WhatIf to actually make the changes.

share|improve this answer
    
Thanks for your valuable responce. –  user113784 Mar 21 '12 at 0:00
    
I had tried said query but its does not recognized command (Get-Addgroupmember) –  user113784 Mar 21 '12 at 0:02
1  
I'll recommend finding a good resource on PowerShell - it's amazingly powerful (and the Exchange Management Console is really just a wrapper around PowerShell, so it's useful to know what's going on behind the scenes). Anyhow, make sure you're typing it in correctly (there's only one 'd' in AD). You may not also have the AD module imported. Make sure you're running PS as an administrator, and run Import-Module ActiveDirectory before you try the command. –  NathanG Mar 21 '12 at 14:30
    
Thx, after running import module it has identify but got another issue i will be appriciate if can assist me for this too.. Set-ADUSer : A referral was returned from the server –  user113784 Mar 22 '12 at 19:19
    
Hmm. This is getting a little bit involved - you have a nontrivial AD setup there, and the command is not talking to the right Domain Controller. I'm not comfortable expanding on this without knowing more about your environment - is there someone else on your team you can talk to for help making this work? –  NathanG Mar 22 '12 at 20:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.