Udostępnij za pośrednictwem


Restore-DetailsTemplate (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 Restore-DetailsTemplate cmdlet to restore the specified template to its default state.

Syntax

Restore-DetailsTemplate -Identity <DetailsTemplateIdParameter> [-DomainController <Fqdn>]

Detailed Description

Details templates cannot be created or deleted, but this task restores the specified template to its default state. All user changes are lost.

To run the Restore-DetailsTemplate cmdlet, the account you use must be delegated the following:

  • Exchange Organization Administrator role

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

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.DetailsTemplateIdParameter

Use the Identity parameter to specify the GUID or by specifying the details template type and language separated by a slash. For example: en-us\user. Details template types include:

  • User

  • Group

  • PublicFolder

  • SearchDialog

  • MailboxAgent

  • Contact

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Exchange, include the DomainController parameter in the command.

Input Types

Return Types

Errors

Error Description

 

Exceptions

Exceptions Description

 

Example

The example restores the default attributes to the User details template, for the English language.

Restore-DetailsTemplate -Identity en-us\User