Applies to: Exchange Server 2007
Topic Last Modified: 2007-06-05

Use the Get-DetailsTemplate cmdlet to retrieve the attributes for details templates.


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


Parameter Required Type Description




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




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 are:

  • User

  • Group

  • PublicFolder

  • SearchDialog

  • MailboxAgent

  • Contact

Detailed Description

The Get-DetailsTemplate cmdlet retrieves the attributes for one or more details templates. Wildcard characters can be used when specifying the type and language of the details templates.

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

  • Exchange View-Only Administrator role

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

Input Types

Return Types


Error Description



Exceptions Description



The first example retrieves all attributes for the User details template, for the English language.

The second example retrieves all attributes for all details template types, in all languages.

The third code example, retrieves all attributes for all user details template types, in all languages.

Copy Code
Get-DetailsTemplate -Identity en-us\User
Get-DetailsTemplate -Identity *\*
Get-DetailsTemplate -Identity *\User