New-GlobalAddressList (RTM)

 

適用版本: Exchange Server 2007

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

使用 New-GlobalAddressList 指令程式可建立新的全域通訊清單 (GAL)。

語法

New-GlobalAddressList -Name <String> [-ConditionalCompany <MultiValuedProperty>] [-ConditionalCustomAttribute1 <String>] [-ConditionalCustomAttribute10 <String>] [-ConditionalCustomAttribute11 <String>] [-ConditionalCustomAttribute12 <String>] [-ConditionalCustomAttribute13 <String>] [-ConditionalCustomAttribute14 <String>] [-ConditionalCustomAttribute15 <String>] [-ConditionalCustomAttribute2 <String>] [-ConditionalCustomAttribute3 <String>] [-ConditionalCustomAttribute4 <String>] [-ConditionalCustomAttribute5 <String>] [-ConditionalCustomAttribute6 <String>] [-ConditionalCustomAttribute7 <String>] [-ConditionalCustomAttribute8 <String>] [-ConditionalCustomAttribute9 <String>] [-ConditionalDepartment <MultiValuedProperty>] [-ConditionalStateOrProvince <MultiValuedProperty>] [-DomainController <Fqdn>] [-IncludedRecipients <Nullable>] [-TemplateInstance <PSObject>]

New-GlobalAddressList -Name <String> [-DomainController <Fqdn>] [-RecipientFilter <String>] [-TemplateInstance <PSObject>]

詳細描述

New-GlobalAddressList 指令程式可建立新的 GAL。GAL 會建立在 Active Directory 目錄服務中的 Microsoft Exchange 組織組態容器之下。

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

  • Exchange 組織系統管理員角色

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

參數

參數 必要 類型 描述

Name

必要

System.String

Name 參數指定新 GAL 的名稱。

ConditionalCompany

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCompany 參數會在 GAL 上設定公司屬性。

ConditionalCustomAttribute1

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute10

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute11

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute12

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute13

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute14

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute15

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute2

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute3

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute4

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute5

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute6

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute7

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute8

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalCustomAttribute9

選用

System.String

此參數指定自訂屬性。您可以使用這些屬性來儲存其他資訊。

ConditionalDepartment

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalDepartment 參數會在 GAL 上設定公司屬性。

ConditionalStateOrProvince

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalStateOrProvince 參數設定 GAL 中的省/市屬性。它可以接受使用逗點分隔的清單輸入的多個值。

DomainController

選用

Microsoft.Exchange.Data.Fqdn

若要指定將此組態變更寫入至 Active Directory 之網域控制站的網域全名 (FQDN),請在命令中加入 DomainController 參數。

IncludedRecipients

選用

System.Nullable

IncludedRecipients 參數可設定 GAL 中要加入的收件者。

RecipientFilter

選用

System.String

RecipientFilter 參數可設定 GAL 中包含的收件者。若指定了下列任何參數,即無法使用 RecipientFilter 參數:

  • IncludedRecipients
  • ConditionalCompany
  • ConditionalDepartment
  • ConditionalStateOrProvince

如需可過濾內容的相關資訊,請參閱 -RecipientFilter 參數的可過濾內容

TemplateInstance

選用

System.Management.Automation.PSObject

將現有的物件提供給 TemplateInstance 參數時,命令會使用該物件的組態,在本機或目標伺服器上建立該物件的相同複本。

輸入類型

傳回類型

錯誤

錯誤 描述

例外狀況

例外狀況 描述

範例

在此範例中,New-GlobalAddressList 命令用來建立新的 GAL,名為 NewGAL。

New-GlobalAddressList -Name NewGAL

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