Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Exchange 2007 - Distribution Groups

Posted on 2012-09-13
3
Medium Priority
?
608 Views
Last Modified: 2012-10-11
Hi

I would like to know what the powershell command is to add a user to multiple distribution groups.


Thanks
0
Comment
Question by:lhrslsshahi
  • 2
3 Comments
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38394591
You need to understand how are you going to pull all DL's anything common ?

What rights do you want to give user on the DL's ?

- Rancy
0
 

Author Comment

by:lhrslsshahi
ID: 38395003
This works fine for 1 user 1 distribution group

Add-ADPermission –identity "*Tank" –User jbloggs –AccessRights WriteProperty –Properties “Member”
0
 
LVL 52

Accepted Solution

by:
Manpreet SIngh Khatra earned 615 total points
ID: 38395077
As i asked anything common between the DL's if not then we need to get something common with some custom Attribute and then do something like

Get-DistributionGroup | Where {$_. CustomAttribute1 -Like "*"} | Add-ADPermission –User jbloggs –AccessRights WriteProperty –Properties “Member”

http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/acc5c68d-3f31-4703-8262-2bab75a27ab5

- Rancy
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
As a Microsoft Exchange user, you must have known the importance of an Offline storage table (OST) file. It is nothing new for an Outlook user to be dependent on a .ost file during a server break down or a problematic Internet connection. In such a…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question