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

lorenetworksCEOAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lorenetworksCEOAuthor Commented:
I've found the solution by posting on the microsoft forums
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.