badabing1
asked on
Email Address Polices in Exchange 2010
Hi,
I have been dumped with exchange 2010 environment that was managed by someone who left the business. They migrated from exchange 2003 to exchange 2010sp1.
2 exchange 2010 servers in a DAG.
I am faced with some legacy mailbox policies that were created on exchange 2003 and I am unable to open them in exchange 2010. (there are no exchange 2003 servers in the environment anymore).
I was reading this article, but there are some things that worry me a bit, especially about LDAP filtering.
https://www.simple-talk.com/sysadmin/exchange/upgrade-exchange-2003-to-exchange-2010---part-ii/
I run this command on one of the policy Get-EmailAddressPolicy -Identity policyname | fl and I can see there are LDAP filter (see attached).
How do I go about updating these policies so I can open/edit them in exchange 2010 console without breaking them?
I also want to know the PowerShell command to use to check which users have which policy applied?
is there another command to run to check what's configured in email policies other than what I have already used?
its been awhile since I last touched exchange so am a bit nervous making any changes....
Thanks in advance!
LDAP.PNG
I have been dumped with exchange 2010 environment that was managed by someone who left the business. They migrated from exchange 2003 to exchange 2010sp1.
2 exchange 2010 servers in a DAG.
I am faced with some legacy mailbox policies that were created on exchange 2003 and I am unable to open them in exchange 2010. (there are no exchange 2003 servers in the environment anymore).
I was reading this article, but there are some things that worry me a bit, especially about LDAP filtering.
https://www.simple-talk.com/sysadmin/exchange/upgrade-exchange-2003-to-exchange-2010---part-ii/
I run this command on one of the policy Get-EmailAddressPolicy -Identity policyname | fl and I can see there are LDAP filter (see attached).
How do I go about updating these policies so I can open/edit them in exchange 2010 console without breaking them?
I also want to know the PowerShell command to use to check which users have which policy applied?
is there another command to run to check what's configured in email policies other than what I have already used?
its been awhile since I last touched exchange so am a bit nervous making any changes....
Thanks in advance!
LDAP.PNG
ASKER
Thanks, can you advise on some power shell command to check policies as per my initial post please?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Will, but can you please suggest a command for one policy upgrade at a time.
I want to try this on one policy at a time.
Email address policy command ?
Address policy command ?
Thanks
I want to try this on one policy at a time.
Email address policy command ?
Address policy command ?
Thanks
Just so you know you cannot use the EMC to upgrade address lists or email address policies. Below is a powershell command for updating All Users Address list.
Will.
Set-AddressList "All Users" -IncludedRecipients MailboxUsers
Will.
ASKER
so am not able to run the command on one policy to see if that has worked but instead I have to run the above command to upgrade all ?
its a bit risky isn't it? we have several email address policies and address lists and I was hoping for a command that I can run to upgrade them one at a time?
if I go on the route of creating a new email policy in exchange 2010 is there a way I can check the existing policy configuration so I can copy that to the new bearing in mind that I cant open it because its a legacy? any command for that do you know of?
Thanks
its a bit risky isn't it? we have several email address policies and address lists and I was hoping for a command that I can run to upgrade them one at a time?
if I go on the route of creating a new email policy in exchange 2010 is there a way I can check the existing policy configuration so I can copy that to the new bearing in mind that I cant open it because its a legacy? any command for that do you know of?
Thanks
All Users is an individual address list so it only affects this address list. Don't get confused with all users.
Will.
Will.
ASKER
oh Ok, so I only need to use the policy name e.g "mobile company users" using the above command and that will only effect that policy ? if this is true then one step closer and what about the mailbox policy command?
what you mind explaining this command please?
Set-AddressList "Mobile company Users" -IncludedRecipients MailboxUsers
sorry for detailed questions just don't want to get it wrong.
much appreciated!
what you mind explaining this command please?
Set-AddressList "Mobile company Users" -IncludedRecipients MailboxUsers
sorry for detailed questions just don't want to get it wrong.
much appreciated!
ASKER
can someone please help convert this into OPATH? I've followed the article below and used that script but for some reason its gives error when I click on preview (see attached)
https://gallery.technet.microsoft.com/scriptcenter/7c04b866-f83d-4b34-98ec-f944811dd48d
(&(mailNickname=*)(objectC ategory=pe rson)(obje ctClass=us er)(object Class=user )(objectCa tegory=per son)(mailN ickname=*) (msExchHom eServerNam e=*)(objec tCategory= user)(comp any=Liftec h*))
Thanks
error.PNG
https://gallery.technet.microsoft.com/scriptcenter/7c04b866-f83d-4b34-98ec-f944811dd48d
(&(mailNickname=*)(objectC
Thanks
error.PNG
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks ill try the default address lists and report back.
ASKER
hi Will,
am struggling to convert the default email address policy- I know it can be set using powershell command below, but before I go ahead with this is there a command I can use to check the default email policy to check what email address SMTP it currently has?
Set-EmailAddressPolicy -Identity "Default Policy" -EnabledEmailAddressTempla tes SMTP:@fourthcoffee.com,smt p:@contoso .com
am struggling to convert the default email address policy- I know it can be set using powershell command below, but before I go ahead with this is there a command I can use to check the default email policy to check what email address SMTP it currently has?
Set-EmailAddressPolicy -Identity "Default Policy" -EnabledEmailAddressTempla
Run the following...
If you still have Exchange 2003 in your environment all of your mailboxes will get the policy from the 2003 EAP. This is true until you migrate it to the newer version of Exchange.
Will.
Get-EmailAddressPolicy | select Identity, ExchangeVersion
If you still have Exchange 2003 in your environment all of your mailboxes will get the policy from the 2003 EAP. This is true until you migrate it to the newer version of Exchange.
Will.
ASKER
there is no exchange 2003 server in our environment, all mailboxes are migrated to exchange 2010 as far as I know?
ASKER
also I've noticed there are four global address lists is this normal, should I delete others and leave the default global address list? how many default global address list should be in an exchange 2010 environment? (I assume one)
I think the others have been migrated from exchange 2003.
I think the others have been migrated from exchange 2003.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Will, I will try this tomorrow and report back.
ASKER
Hi Will,
the -force did not help
i get this error:
Set-EmailAddressPolicy : The recipient policy "Default Policy" with mailbox man
ager settings cannot be managed by the current version of Exchange Management C
onsole. Please use a management console with the same version as the object.
I read this but how do I go about doing the below, do I have to install exchange 2003 console? -
this error message indicates that it's not just a recipient policy but that you also have mailbox manager policy settings on this object. Since Mailbox Manager policies no longer exist in Exchange 2007, you need to remove the mailbox manager policy settings from this recipient policy object using Exchange 2003 before you can upgrade the policy to Exchange 2007 version (you can create another mailbox manager policy that has no email address policy settings in Exchange 2003 if you want to keep the mailbox manager settings).
Thanks
the -force did not help
i get this error:
Set-EmailAddressPolicy : The recipient policy "Default Policy" with mailbox man
ager settings cannot be managed by the current version of Exchange Management C
onsole. Please use a management console with the same version as the object.
I read this but how do I go about doing the below, do I have to install exchange 2003 console? -
this error message indicates that it's not just a recipient policy but that you also have mailbox manager policy settings on this object. Since Mailbox Manager policies no longer exist in Exchange 2007, you need to remove the mailbox manager policy settings from this recipient policy object using Exchange 2003 before you can upgrade the policy to Exchange 2007 version (you can create another mailbox manager policy that has no email address policy settings in Exchange 2003 if you want to keep the mailbox manager settings).
Thanks
ASKER
any more suggestions for this issue?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Not a problem. Glad i could be some help!
Will.
Will.
ASKER
Thanks for all your help Will.
https://technet.microsoft.com/en-ca/library/cc164375(v=exchg.141).aspx
If you cannot force this then you might have to forcefully remove the Email Address Policies and re-create new ones from the Exchagne 2010 server.
Will.