Solved

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

Posted on 2010-11-11
3
786 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
3 Comments
 
LVL 32

Accepted Solution

by:
endital1097 earned 500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
how to add IIS SMTP to handle application/Scanner relays into office 365.

830 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