Solved

email address policies exchange 2010

Posted on 2014-04-30
3
451 Views
Last Modified: 2014-05-20
We have a bunch of email address policies and need to remove them. For example we have a mail domain policy for example ugly.com and it is applied to every OU through an email address policy. %m@ugly.com this is what shows up under email address policies. Is there a way as I have been looking through the command set-emailaddresspolicy to automate this process for all OU's. If I place the object type in a file and did a forloop can this be accomplished

$OU=get-content c:\temp\ou.csv
for (i in $ou) {
set-emailaddresspolicy  -id $_  %m@ugly.com

}

Also by removing the email address policy does it remove it from the existing alias. It does not appear to do this for the few I have done but wanted to confirm.
0
Comment
Question by:techdrive
[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 43

Accepted Solution

by:
Amit earned 250 total points
ID: 40032803
Answer to your query is, if you don't need that email policy for users, just remove it. Rest will be updated automatically. I don't see any reason for alias change, however email address will be removed for those policies, if automatically update check box is selected.
0
 
LVL 23

Assisted Solution

by:Malli Boppe
Malli Boppe earned 250 total points
ID: 40036366
To remove the existing aliases from user mailboxes you can use 3rd party tools.
In the past I have used ADmodify to remove all email address for a particular domain.
The tool is free and very simple to use
0
 

Author Closing Comment

by:techdrive
ID: 40077559
no solution ended up doing this manually myself
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create a Distribution Group 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 >>…
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…

735 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