Link to home
Start Free TrialLog in
Avatar of lorenetworks
lorenetworksFlag for United States of America

asked on

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

Avatar of ashunnag
ashunnag
Flag of Saudi Arabia image

Use this to remove address policy:
remove-emailaddresspolicy -identity company
Avatar of lorenetworks

ASKER

Ashunnag - That is for Exchange 2010 SP1 - NON HOSTING setup.

Thanks but this will not work in an /hosting setup mode.
ASKER CERTIFIED SOLUTION
Avatar of lorenetworks
lorenetworks
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I've found the solution by posting on the microsoft forums