• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 998
  • Last Modified:

Exchange 2010 SP1 /hosting Setup Recipient Policy

So - there is not much information on technet regarding the new /hosting setup.

I have completely setup my environment and am getting to the point of adding organizations - here is the issue.

Creating a new Recpicient Policy for an Organization - Easy.

New-EmailAddressPolicy -Name "company" -IncludedRecipients AllRecipients -EnabledPrimarySMTPAddressTemplate "SMTP:%g@company.com" -organization Company

^^ Now the questions --

1. How do i delete the policy if i wish to do so? I ask this because the -organization switch does not work with "Remove-EmailAddressPolicy" and without it - the command can not find
the policy.

Fails --
remove-emailaddresspolicy company
remove-emailaddresspolicy company -organization company


2. How do i "add" a secondary (but not make a new primary) to an existing recipient policy since AGAIN the -organization switch does not work.

Fails -
set-emailaddresspolicy company -EnabledEmailAddressTemplates SMTP:%g@company2.com -organization company


Thanks For your Input

0
lorenetworks
Asked:
lorenetworks
  • 3
1 Solution
 
ashunnagCommented:
Use this to remove address policy:
remove-emailaddresspolicy -identity company
0
 
lorenetworksCEOAuthor Commented:
Ashunnag - That is for Exchange 2010 SP1 - NON HOSTING setup.

Thanks but this will not work in an /hosting setup mode.
0
 
lorenetworksCEOAuthor Commented:
Found the answer after asking on the Exchange 2010 for Hosters Forum

1. Specify the -identity parameter with "Organization\Name", where Name is the policy name and Organization is the organization name.
In your example: remove-emailaddresspolicy "Company\Company"

2. Again, specify the -identity parameter with "Organization\Name".


So for me -

set-emailaddresspolicy -identity company\company -EnabledEmailAddressTemplates SMTP:%g@company2.com
0
 
lorenetworksCEOAuthor Commented:
I've found the solution by posting on the microsoft forums
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now