address policy exchange 2007

Hi Experts,

how to set an address policy to false ?
Right click shows no option, maybe with powershell ?
Eprs_AdminSystem ArchitectAsked:
Who is Participating?
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.

Bruno PACIIT ConsultantCommented:
Hi,

What do you mean by setting an address policy to false ??? Disable it ??

Address Policies are applied with a filter that selects mail objects on which the policy should apply. You can then modify the filter so that the policy will never apply.

You have to know that address policies can add new e-mail addresses on a mail object (mail contact, mailbox, ...)  but WILL NEVER REMOVE previous e-mail addresses.
So if you want to disable an address policy to remove e-mails that this policy added, it will not help.

Also, the "default address policy" can not be removed and its filter can not be modified. This default address policy applies on every object if there is no other address policy before it that applies.


Have a good day.
Eprs_AdminSystem ArchitectAuthor Commented:
before removing it, I want to disable it.

I have some address policies here, some are set to TRUE and some are set to FALSE.
Bruno PACIIT ConsultantCommented:
Hi again,

As far as I know there is no "Enabled" or "Disabled" property on address policy objects.

So in my opinion, a way to avoid application of an address policy without removing it would to change the IncludedRecipients property to "None":

Set-EmailAddressPolicy -Name "name of to address policy" -IncludedRecipients None


Have a good day
Bruno PACIIT ConsultantCommented:
Me again...

The column "Applied Status" that shows True or False has nothing to do with the fact that the policy is enabled or not.
The "Applied status" is only about the fact your manually forced reapplication of the policy.

If a policy exists, it applies to new mailbox on mail object created.
If a policy exists and you change the policy settings you'll have the choice to reapply immediatly the policy to already existing mail object when you save the changes.

So again, in my opinion the only way to keep the policy but avoid application of this policy is to modify the filter so that none object will be concerned, by setting "IncludedRecipients" to None.
But of course you should note the previous value of "IncludedRecipients" to be able to go back to previous state if you finally decide to keep the address policy.

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
Eprs_AdminSystem ArchitectAuthor Commented:
ok thanks for the tipps.
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.