Solved

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

Posted on 2010-11-11
3
788 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Read this checklist to learn more about the 15 things you should never include in an email signature.
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
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…
Suggested Courses
Course of the Month7 days, 9 hours left to enroll

632 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