Set-DynamicDistributionGroup

 

適用版本: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1

上次修改主題的時間: 2010-10-20

使用 Set-DynamicDistributionGroup 指令程式可修改現有動態通訊群組的設定。

語法

Set-DynamicDistributionGroup -Identity <DynamicGroupIdParameter> [-AcceptMessagesOnlyFrom <RecipientIdParameter[]>] [-AcceptMessagesOnlyFromDLMembers <RecipientIdParameter[]>] [-Alias <String>] [-ConditionalCompany <MultiValuedProperty>] [-ConditionalCustomAttribute1 <MultiValuedProperty>] [-ConditionalCustomAttribute10 <MultiValuedProperty>] [-ConditionalCustomAttribute11 <MultiValuedProperty>] [-ConditionalCustomAttribute12 <MultiValuedProperty>] [-ConditionalCustomAttribute13 <MultiValuedProperty>] [-ConditionalCustomAttribute14 <MultiValuedProperty>] [-ConditionalCustomAttribute15 <MultiValuedProperty>] [-ConditionalCustomAttribute2 <MultiValuedProperty>] [-ConditionalCustomAttribute3 <MultiValuedProperty>] [-ConditionalCustomAttribute4 <MultiValuedProperty>] [-ConditionalCustomAttribute5 <MultiValuedProperty>] [-ConditionalCustomAttribute6 <MultiValuedProperty>] [-ConditionalCustomAttribute7 <MultiValuedProperty>] [-ConditionalCustomAttribute8 <MultiValuedProperty>] [-ConditionalCustomAttribute9 <MultiValuedProperty>] [-ConditionalDepartment <MultiValuedProperty>] [-ConditionalStateOrProvince <MultiValuedProperty>] [-Confirm [<SwitchParameter>]] [-CreateDTMFMap <$true | $false>] [-CustomAttribute1 <String>] [-CustomAttribute10 <String>] [-CustomAttribute11 <String>] [-CustomAttribute12 <String>] [-CustomAttribute13 <String>] [-CustomAttribute14 <String>] [-CustomAttribute15 <String>] [-CustomAttribute2 <String>] [-CustomAttribute3 <String>] [-CustomAttribute4 <String>] [-CustomAttribute5 <String>] [-CustomAttribute6 <String>] [-CustomAttribute7 <String>] [-CustomAttribute8 <String>] [-CustomAttribute9 <String>] [-DisplayName <String>] [-DomainController <Fqdn>] [-EmailAddresses <ProxyAddressCollection>] [-EmailAddressPolicyEnabled <$true | $false>] [-ExpansionServer <String>] [-ForceUpgrade <SwitchParameter>] [-GrantSendOnBehalfTo <MailboxOrMailUserIdParameter[]>] [-HiddenFromAddressListsEnabled <$true | $false>] [-IgnoreDefaultScope <SwitchParameter>] [-IncludedRecipients <Nullable>] [-ManagedBy <GeneralRecipientIdParameter>] [-MaxReceiveSize <Unlimited>] [-MaxSendSize <Unlimited>] [-Name <String>] [-Notes <String>] [-PhoneticDisplayName <String>] [-PrimarySmtpAddress <SmtpAddress>] [-RecipientContainer <OrganizationalUnitIdParameter>] [-RecipientFilter <String>] [-RejectMessagesFrom <RecipientIdParameter[]>] [-RejectMessagesFromDLMembers <RecipientIdParameter[]>] [-ReportToManagerEnabled <$true | $false>] [-ReportToOriginatorEnabled <$true | $false>] [-RequireSenderAuthenticationEnabled <$true | $false>] [-SendOofMessageToOriginatorEnabled <$true | $false>] [-SimpleDisplayName <String>] [-UMDtmfMap <MultiValuedProperty>] [-UseRusServer <String>] [-WhatIf [<SwitchParameter>]] [-WindowsEmailAddress <SmtpAddress>]

Set-DynamicDistributionGroup [-AcceptMessagesOnlyFrom <RecipientIdParameter[]>] [-AcceptMessagesOnlyFromDLMembers <RecipientIdParameter[]>] [-Alias <String>] [-ConditionalCompany <MultiValuedProperty>] [-ConditionalCustomAttribute1 <MultiValuedProperty>] [-ConditionalCustomAttribute10 <MultiValuedProperty>] [-ConditionalCustomAttribute11 <MultiValuedProperty>] [-ConditionalCustomAttribute12 <MultiValuedProperty>] [-ConditionalCustomAttribute13 <MultiValuedProperty>] [-ConditionalCustomAttribute14 <MultiValuedProperty>] [-ConditionalCustomAttribute15 <MultiValuedProperty>] [-ConditionalCustomAttribute2 <MultiValuedProperty>] [-ConditionalCustomAttribute3 <MultiValuedProperty>] [-ConditionalCustomAttribute4 <MultiValuedProperty>] [-ConditionalCustomAttribute5 <MultiValuedProperty>] [-ConditionalCustomAttribute6 <MultiValuedProperty>] [-ConditionalCustomAttribute7 <MultiValuedProperty>] [-ConditionalCustomAttribute8 <MultiValuedProperty>] [-ConditionalCustomAttribute9 <MultiValuedProperty>] [-ConditionalDepartment <MultiValuedProperty>] [-ConditionalStateOrProvince <MultiValuedProperty>] [-Confirm [<SwitchParameter>]] [-CreateDTMFMap <$true | $false>] [-CustomAttribute1 <String>] [-CustomAttribute10 <String>] [-CustomAttribute11 <String>] [-CustomAttribute12 <String>] [-CustomAttribute13 <String>] [-CustomAttribute14 <String>] [-CustomAttribute15 <String>] [-CustomAttribute2 <String>] [-CustomAttribute3 <String>] [-CustomAttribute4 <String>] [-CustomAttribute5 <String>] [-CustomAttribute6 <String>] [-CustomAttribute7 <String>] [-CustomAttribute8 <String>] [-CustomAttribute9 <String>] [-DisplayName <String>] [-DomainController <Fqdn>] [-EmailAddresses <ProxyAddressCollection>] [-EmailAddressPolicyEnabled <$true | $false>] [-ExpansionServer <String>] [-ForceUpgrade <SwitchParameter>] [-GrantSendOnBehalfTo <MailboxOrMailUserIdParameter[]>] [-HiddenFromAddressListsEnabled <$true | $false>] [-IgnoreDefaultScope <SwitchParameter>] [-IncludedRecipients <Nullable>] [-Instance <DynamicDistributionGroup>] [-ManagedBy <GeneralRecipientIdParameter>] [-MaxReceiveSize <Unlimited>] [-MaxSendSize <Unlimited>] [-Name <String>] [-Notes <String>] [-PhoneticDisplayName <String>] [-PrimarySmtpAddress <SmtpAddress>] [-RecipientContainer <OrganizationalUnitIdParameter>] [-RecipientFilter <String>] [-RejectMessagesFrom <RecipientIdParameter[]>] [-RejectMessagesFromDLMembers <RecipientIdParameter[]>] [-ReportToManagerEnabled <$true | $false>] [-ReportToOriginatorEnabled <$true | $false>] [-RequireSenderAuthenticationEnabled <$true | $false>] [-SendOofMessageToOriginatorEnabled <$true | $false>] [-SimpleDisplayName <String>] [-UMDtmfMap <MultiValuedProperty>] [-UseRusServer <String>] [-WhatIf [<SwitchParameter>]] [-WindowsEmailAddress <SmtpAddress>]

詳細描述

動態通訊群組會查詢 Active Directory 目錄服務擁有郵件功能的物件,並根據結果建立群組成員。每當有電子郵件傳送給群組時,就會重新計算群組成員。您可以使用 Set-DynamicDistributionGroup 來覆寫現有設定或新增設定。

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

  • Exchange 收件者系統管理員角色

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

參數

參數 必要 類型 描述

Identity

必要

Microsoft.Exchange.Configuration.Tasks.DynamicGroupIdParameter

Identity 參數識別您要修改的物件。Identity 參數可以使用動態通訊群組動態物件的下列任何一個值:

  • 辨別名稱 (DN)

  • 標準名稱

  • GUID

  • 名稱

  • 顯示名稱

  • 別名

  • 傳統 Exchange DN

  • 主要的簡易郵件傳送通訊協定 (SMTP) 電子郵件地址

如果指定 Instance 參數,則無法使用 Identity 參數。

AcceptMessagesOnlyFrom

選用

Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter[]

AcceptMessagesOnlyFrom 參數指定可將電子郵件傳送至此動態通訊群組的信箱使用者、郵件使用者及郵件連絡人。您也可以指定 Microsoft Exchange 作為此參數的有效收件者。如果您將動態通訊群組設定為只接受來自 Microsoft Exchange 收件者的郵件,它將只會接收系統產生的郵件。

AcceptMessagesOnlyFrom 參數可使用下列其中一個值作為有效的寄件者:

  • 辨別名稱 (DN)

  • 標準名稱

  • GUID

  • 名稱

  • 顯示名稱

  • 別名

  • Exchange DN

  • 主要 SMTP 電子郵件地址

此參數預設是空白的。此預設值可讓動態通訊群組接受所有寄件者的郵件。

AcceptMessagesOnlyFromDLMembers

選用

Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter[]

AcceptMessagesOnlyFromDLMembers 參數指定其成員可以傳送電子郵件到此動態通訊群組的通訊群組。您可以為允許的通訊群組使用下列任何值:

  • 辨別名稱 (DN)

  • 標準名稱

  • GUID

  • 名稱

  • 顯示名稱

  • 傳統 Exchange DN

  • 主要 SMTP 電子郵件地址。

此參數預設是空白的。此預設值可讓動態通訊群組接受所有寄件者的郵件。

Alias

選用

System.String

Alias 參數指定物件的別名。Alias 的值不可包含空格。

ConditionalCompany

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCompany 參數可篩選用來建立動態通訊群組的信箱使用者或擁有郵件功能的連絡人。

用逗號隔開 ConditionalCompany 參數中的多個值時,會套用 OR 布林運算子。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute1

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute1 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute10

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute10 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute11

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute11 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute12

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute12 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute13

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute13 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute14

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute14 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute15

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute15 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute2

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute2 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute3

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute3 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute4

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute4 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute5

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute5 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute6

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute6 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute7

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute7 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute8

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute8 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalCustomAttribute9

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalCustomAttribute9 參數指定條件式自訂屬性。您可以使用這些屬性來儲存其他資訊。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalDepartment

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalDepartment 參數可篩選用來建立動態通訊群組的信箱使用者或擁有郵件功能的連絡人。

用逗號隔開 ConditionalDepartment 參數中的多個值時,會套用 OR 布林運算子。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

ConditionalStateOrProvince

選用

Microsoft.Exchange.Data.MultiValuedProperty

ConditionalStateOrProvince 參數可篩選用來建立動態通訊群組的信箱使用者或擁有郵件功能的連絡人。

用逗號隔開 ConditionalStateOrProvince 參數中的多個值時,會套用 OR 布林運算子。若您使用 Conditional 參數,則必須使用 IncludedRecipients 參數。如果使用 RecipientFilter 參數,則不可以使用此參數。

Confirm

選用

System.Management.Automation.SwitchParameter

Confirm 參數會使得命令暫停處理,並要求確認命令將進行的動作之後才會繼續處理。您不需要為 Confirm 參數指定任何值。

CreateDTMFMap

選用

System.Boolean

此參數指定為動態通訊群組建立雙音多頻 (DTMF) 對應。

CustomAttribute1

選用

System.String

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

CustomAttribute10

選用

System.String

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

CustomAttribute11

選用

System.String

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

CustomAttribute12

選用

System.String

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

CustomAttribute13

選用

System.String

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

CustomAttribute14

選用

System.String

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

CustomAttribute15

選用

System.String

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

CustomAttribute2

選用

System.String

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

CustomAttribute3

選用

System.String

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

CustomAttribute4

選用

System.String

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

CustomAttribute5

選用

System.String

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

CustomAttribute6

選用

System.String

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

CustomAttribute7

選用

System.String

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

CustomAttribute8

選用

System.String

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

CustomAttribute9

選用

System.String

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

DisplayName

選用

System.String

DisplayName 參數指定通訊群組在 Exchange 管理主控台及 Exchange 全域通訊清單 (GAL) 中的名稱。

DomainController

選用

Microsoft.Exchange.Data.Fqdn

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

EmailAddresses

選用

Microsoft.Exchange.Data.ProxyAddressCollection

EmailAddresses 參數指定通訊群組的電子郵件地址。所有 Microsoft Exchange Server 2007 電子郵件地址類型皆有效。您可以對 EmailAddresses 參數指定多個值。請使用逗號將多個值隔開。

important重要事項:
Exchange 2007 不會驗證自訂位址的格式是否正確。您必須確定指定的自訂位址符合該位址類型的格式需求。由於 X.400 地址在 Exchange 2007 中被視為自訂位址,所以不會加以驗證。因此,當指定 X.400 地址時,必須提供正確的語法。

EmailAddressPolicyEnabled

選用

System.Boolean

EmailAddressPolicyEnabled 參數控制是否可將電子郵件地址原則套用至此通訊群組。有效的值為 $true$false。預設值為 $true。預設會將所有可套用的電子郵件地址原則套用到此通訊群組。

ExpansionServer

選用

System.String

ExpansionServer 參數指定用來展開通訊群組的 Exchange 伺服器。輸入擴充伺服器作為 Legacy Exchange DN 值。預設行為是使用已安裝 Hub Transport server role 的最接近之 Exchange Server 2003 電腦,或是最接近的 Exchange 2007 伺服器。

ForceUpgrade

選用

System.Management.Automation.SwitchParameter

ForceUpgrade 參數會抑制下列確認:「若要儲存物件上的變更,物件必須更新到目前的 Exchange 版本。更新之後,即無法以舊版 Exchange 系統管理員管理此物件。您要繼續更新並儲存物件嗎?」升級 Microsoft Exchange Server 2003 或 Exchange 2000 Server 中建立的動態通訊群組時,會出現此確認。除非使用 RecipientFilter 或 IncludedRecipients 參數來更新物件版本並變更收件者篩選器,否則無法使用 Exchange 管理主控台來管理 Exchange 2003 或 Exchange 2000 動態通訊群組。

GrantSendOnBehalfTo

選用

Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter

GrantSendOnBehalfTo 參數指定可以代表此動態通訊群組來進行傳送的信箱使用者。GrantSendOnBehalfTo 參數可接受下列任何一個值:

  • 辨別名稱 (DN)

  • GUID

  • 名稱

  • 顯示名稱

  • 標準名稱

  • 傳統 Exchange DN

  • 別名

  • 主要 SMTP 電子郵件地址

GrantSendOnBehalfTo 參數預設為空白。這表示沒有其他信箱使用者具有代表此通訊群組傳送的權限。

HiddenFromAddressListsEnabled

選用

System.Boolean

HiddenFromAddressListsEnabled 參數會將通訊群組自任何 Exchange 通訊清單中隱藏。有效的值為 $true$false。預設值為 $false

IgnoreDefaultScope

選用

System.Management.Automation.SwitchParameter

IgnoreDefaultScope 參數會指示命令略過 Exchange 管理命令介面的預設收件者範圍設定,並以整個樹系作為範圍。如此可讓命令存取目前不在預設範圍內的 Active Directory 物件。使用 IgnoreDefaultScope 參數會產生下列限制:

  • 您無法使用 DomainController 參數。此命令會自動使用適當的通用類別目錄伺服器。

  • 您只可以針對 Identity 參數使用 DN。不接受其他形式的識別碼 (如別名或 GUID)。

IncludedRecipients

選用

System.Nullable

IncludedRecipients 參數可篩選用來建立動態通訊群組的收件者類型。IncludedRecipients 參數的可用值有 AllRecipientsMailboxUsersResourcesMailContactsMailGroups

AllRecipients 值只能單獨使用。當 IncludedRecipients 參數的多個值以逗號隔開時,會套用 OR 布林運算子。

Instance

選用

Microsoft.Exchange.Data.Directory.Management.DynamicDistributionGroup

Instance 參數可讓您將整個物件傳遞至要處理的命令。它主要是用於必須將整個物件傳遞至該命令的指令碼。

如果指定 Identity 參數,則無法使用 Instance 參數。

ManagedBy

選用

Microsoft.Exchange.Configuration.Tasks.GeneralRecipientIdParameter

ManagedBy 參數指定在 Active Directory 物件的 [管理者] 索引標籤中出現的信箱使用者、擁有郵件功能的群組或擁有郵件功能的連絡人名稱。您可以針對此參數使用下列任何一個值:

  • 辨別名稱 (DN)

  • 標準名稱

  • GUID

  • 名稱

  • 顯示名稱

  • 傳統 Exchange DN

  • 主要 SMTP 電子郵件地址

MaxReceiveSize

選用

Microsoft.Exchange.Data.Unlimited

MaxReceiveSize 參數可以用來設定可以傳送至此通訊群組的電子郵件大小上限。當您輸入值時,請以下列其中一個單位來限定值:

  • B (位元組)

  • KB (KB)

  • MB (MB)

  • GB (GB)

  • TB (TB)

無限定的值會視為位元組。有效的值為 0 到 2147482624 個位元組。

MaxReceiveSize 參數預設會設為 unlimited

MaxSendSize

選用

Microsoft.Exchange.Data.Unlimited

MaxSendSize 參數可以用來指定能從此通訊群組傳送的最大允許電子郵件大小。當您輸入值時,請以下列其中一個單位來限定值:

  • B (位元組)

  • KB (KB)

  • MB (MB)

  • GB (GB)

  • TB (TB)

無限定的值會視為位元組。有效的值為 0 到 2147482624 個位元組。

MaxSendSize 參數預設會設為 unlimited

Name

選用

System.String

Name 參數指定動態通訊群組的名稱。Name 參數指定 Active Directory 使用者和電腦中的通訊群組名稱,以及 Exchange 管理主控台 [群組名稱] 欄位中的通訊群組名稱。

Notes

選用

System.String

Notes 參數指定通訊群組的註解。

PhoneticDisplayName

選用

System.String

PhoneticDisplayName 參數指定 DisplayName 參數的語音讀法。

此參數值的最大長度為 255 個字元。如需 PhoneticDisplayName 參數與語音辨識的相關資訊,請參閱了解自動語音辨識目錄查閱服務

PrimarySmtpAddress

選用

Microsoft.Exchange.Data.SmtpAddress

PrimarySmtpAddress 參數指定通訊群組的主要回覆 SMTP 電子郵件地址。只有在通訊群組含有多個 SMTP 電子郵件地址時,此參數才有意義。

RecipientContainer

選用

Microsoft.Exchange.Configuration.Tasks.OrganizationalUnitIdParameter

RecipientContainer 參數會根據收件者在 Active Directory 中的位置,篩選用來建立動態通訊群組的收件者。RecipientContainer 的值可以是組織單位 (OU) 或網域的標準名稱。如果未指定 RecipientContainer 的值,預設搜尋篩選器便是 Active Directory 中動態通訊群組的位置。

RecipientFilter

選用

System.String

RecipientFilter 參數可篩選用來建立動態通訊群組之擁有郵件功能的收件者。如果指定下列任何一個參數,則無法使用 RecipientFilter

  • IncludedRecipients

  • ConditionalCompany

  • ConditionalDepartment

  • ConditionalStateorProvince

RecipientFilter 使用 OPath 語法來查詢 Active Directory 及篩選收件者。如需可篩選內容的相關資訊,請參閱 Exchange 2007 SP1 與 SP2 中 -RecipientFilter 參數可篩選的內容RecipientFilter 可以使用下列物件類型的任何組合作為篩選器:

  • RecipientType

  • ConditionalCompany

  • ConditionalDepartment

  • ConditionalStateorProvince

RejectMessagesFrom

選用

Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter[]

RejectMessagesFrom 參數指定不可以將電子郵件傳送至此通訊群組的信箱使用者及擁有郵件功能的連絡人。您可以為禁止的寄件者使用下列任何值:

  • 辨別名稱 (DN)

  • 標準名稱

  • GUID

  • 名稱

  • 顯示名稱

  • 傳統 Exchange DN

  • 主要 SMTP 電子郵件地址

此參數預設是空白的。此預設值可讓通訊群組接受所有信箱使用者及所有擁有郵件功能之連絡人的郵件。

RejectMessagesFromDLMembers

選用

Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter[]

RejectMessagesFromDLMembers 參數指定不可以將電子郵件傳送至此通訊群組的通訊群組。您可以為禁止的通訊群組使用下列任何值:

  • 辨別名稱 (DN)

  • 標準名稱

  • GUID

  • 名稱

  • 顯示名稱

  • 傳統 Exchange DN

  • 主要 SMTP 電子郵件地址

此參數預設是空白的。此預設值可讓通訊群組接受所有通訊群組的郵件。

ReportToManagerEnabled

選用

System.Boolean

ReportToManagerEnabled 參數會將傳遞回報傳送給通訊群組管理員。有效的值為 $true$false。預設值為 $false

ReportToOriginatorEnabled

選用

System.Boolean

ReportToOriginatorEnabled 參數會將傳遞回報傳送給將電子郵件傳送至此通訊群組的寄件者。有效的值為 $true$false。預設值為 $true

RequireSenderAuthenticationEnabled

選用

System.Boolean

RequireSenderAuthenticationEnabled 參數要求由已驗證寄件者傳遞的電子郵件。有效的值為 $true$false。預設值為 $true。如果值為 $true,則只會接受來自驗證寄件者的郵件。

SendOofMessageToOriginatorEnabled

選用

System.Boolean

SendOofMessageToOriginatorEnabled 參數會將郵件答錄機郵件傳遞給將電子郵件傳送至此通訊群組的寄件者。有效的值為 $true$false。預設值為 $false

SimpleDisplayName

選用

System.String

SimpleDisplayName 參數是在只允許有限的一組字元時,用來顯示物件的替代性描述。這組有限的字元是由 ASCII 字元 26 到 126 所組成。

UMDtmfMap

選用

Microsoft.Exchange.Data.MultiValuedProperty

此參數指定是否要為已啟用 UM 的動態通訊群組建立使用者定義之 DTMF 對應。

UseRusServer

選用

System.String

note附註:
只有在 Exchange 2007 SP2 中才能使用此參數。

UseRusServer 參數會指示此命令,使用通訊清單服務執行所在的指定信箱伺服器來取得並設定信箱及 Active Directory 使用者屬性。

通訊清單服務是 Exchange System Attendant 服務的一個元件。通訊清單服務會在 Active Directory 中建立並維護 Exchange 的特定屬性。您可以使用特定資訊 (如通訊清單成員資格與電子郵件地址),透過通訊清單服務來更新網域中的收件者物件。

WhatIf

選用

System.Management.Automation.SwitchParameter

WhatIf 參數指示命令模擬它將對物件採取的動作。使用 WhatIf 參數,則不需要套用任何變更,就能檢視變更。您不需要為 WhatIf 參數指定任何值。

WindowsEmailAddress

選用

Microsoft.Exchange.Data.SmtpAddress

WindowsEmailAddress 參數指定 Active Directory 物件之 [電子郵件] 欄位的值。

輸入類型

傳回類型

錯誤

錯誤 描述

 

 

例外狀況

例外狀況 描述

 

 

範例

下列程式碼範例顯示如何使用 Set-DynamicDistributionGroup 命令,將下列變更套用至名為 Developers 的現有動態通訊群組:

  • ConditionalCompany 查詢篩選器變更為 Contoso

  • IncludedRecipients 查詢篩選器變更為 MailboxUsers

  • 新增 Custom Attribute 1 值 Internal。

Set-DynamicDistributionGroup -Identity "Developers" -ConditionalCompany "Contoso" -IncludedRecipients MailboxUsers -ConditionalCustomAttribute1 "Internal"