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


Exchange 2007 - Distribution Groups

Posted on 2012-09-13
Medium Priority
Last Modified: 2012-10-11

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

Question by:lhrslsshahi
  • 2
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

Author Comment

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

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

Accepted Solution

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”


- Rancy

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