Solved

email address policies exchange 2010

Posted on 2014-04-30
3
461 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
To show how to create a transport rule 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 >> Rules tab.:  To cr…
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…
Suggested Courses

615 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