Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Restrict ability to send to an Exchange 2007 distribution list with EMS/Powershell command

Posted on 2010-11-11
3
Medium Priority
?
794 Views
Last Modified: 2012-08-13
Is there an EMS/Powershell command to restrict the ability of a couple of distribution lists from sending to a list of distribution groups in a .csv file?  If so, what is the command and syntax to restrict send ability to a list of distribution lists in a .csv file?
0
Comment
Question by:bchambliss
2 Comments
 
LVL 32

Accepted Solution

by:
endital1097 earned 2000 total points
ID: 34129389
we would need to see the column headers for the csv but here is an example
"DG1","DG2"
"GroupName","NoSend1"
"GroupName","NoSend2"
"GroupName","NoSend3"
"GroupName","NoSend4"

Import-Csv C:\DisallowSend.csv | ForEach-Object { Set-Distribution $_.DG1 -RejectMessagesFrom $_.DG2 }

This would prevent NoSend1-4 from sending to GroupName
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 34869307
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

783 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