Get-DetailsTemplate (RTM)

 

適用版本: Exchange Server 2007

上次修改主題的時間: 2007-06-05

使用 Get-DetailsTemplate 指令程式可擷取詳細資料範本的屬性。

語法

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

詳細描述

Get-DetailsTemplate 指令程式可擷取一或多個詳細資料範本的屬性。指定詳細資料範本的類型和語言時可使用萬用字元。

若要執行 Get-DetailsTemplate 指令程式,必須對您使用的帳戶委派下列項目:

  • Exchange 僅檢視管理角色

如需管理 Exchange Server 2007 所需之權限、委派角色及權利的相關資訊,請參閱權限考量

參數

參數 必要 類型 描述

DomainController

選用

Microsoft.Exchange.Data.Fqdn

若要指定從 Exchange 擷取資料之網域控制站的網域全名 (FQDN),請在命令中加入 DomainController 參數。

Identity

選用

Microsoft.Exchange.Configuration.Tasks.DetailsTemplateIdParameter

使用 Identity 參數或藉由指定詳細資料範本類型和語言並以斜線隔開,來指定 GUID。例如:en-us\user。詳細資料範本類型為:

  • User
  • Group
  • PublicFolder
  • SearchDialog
  • MailboxAgent
  • Contact

輸入類型

傳回類型

錯誤

錯誤 描述

 

例外狀況

例外狀況 描述

 

範例

第一個範例會擷取使用者詳細資料範本的所有屬性 (英文版)。

第二個範例會擷取所有詳細資料範本類型的所有屬性 (所有語言)。

第三個程式碼範例會擷取所有使用者詳細資料範本類型的所有屬性 (所有語言)。

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

若要確保您目前閱讀的是最新資訊,並尋找其他的 Exchange Server 2007 說明文件,請造訪 Exchange Server 技術資源中心.