Sdílet prostřednictvím


Update-EmailAddressPolicy (RTM)

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007

Use the Update-EmailAddressPolicy cmdlet to apply an e-mail address policy to all recipients.

Syntax

update-EmailAddressPolicy -Identity <EmailAddressPolicyIdParameter> [-DomainController <Fqdn>]

Detailed Description

The Update-EmailAddressPolicy cmdlet allows administrators to apply an e-mail address policy to all recipients. This command queries for all recipients that match the specified e-mail address policy and saves the objects to the Active Directory directory service. Use the Update-EmailAddressPolicy cmdlet after you use the Set-EmailAddressPolicy cmdlet to apply all changes.

To run the Update-EmailAddressPolicy cmdlet, the account you use must be delegated the following:

  • Exchange Server Administrator role and local Administrators group for the target server

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

For more information about the Set-EmailAddressPolicy cmdlet, see Set-EmailAddressPolicy (RTM).

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.EmailAddressPolicyIdParameter

Use the Identity parameter to specify the GUID, distinguished name or e-mail address policy name that represents a specific e-mail address policy. You can also include the path by using the format Path\EmailAddressPolicy.

You can omit the parameter label Identity so that only the e-mail address policy name or GUID is supplied.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory, include the DomainController parameter in the command.

Input Types

Return Types

Errors

Error Description

Exceptions

Exceptions Description

Example

The following code is an example of the Update-EmailAddressPolicy command. This example applies the e-mail address policy named EMAIL_ADDRESS_POLICY01 to all affected recipients.

Update-EmailAddressPolicy -Identity EMAIL_ADDRESS_POLICY01