Solved

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

Posted on 2010-11-11
3
787 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange server send email to yahoo delay 9 48
O365 Mobile Device Management and ActiveSync Policies... 2 104
exchange, owa 4 49
Exchange 2013 Message Tracking 3 39
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Read this checklist to learn more about the 15 things you should never include in an email signature.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
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…

752 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