Skip to content

Commit 16d505d

Browse files
authored
Merge pull request MicrosoftDocs#4166 from MicrosoftDocs/chrisda
Further DirectMembershipOnly updates to DDG parameters
2 parents 1d98def + 131d789 commit 16d505d

File tree

2 files changed

+31
-13
lines changed

2 files changed

+31
-13
lines changed

exchange/exchange-ps/exchange/users-and-groups/New-DynamicDistributionGroup.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ For information about the parameter sets in the Syntax section below, see Exchan
2222

2323
### PrecannedFilter
2424
```
25-
New-DynamicDistributionGroup [-Name] <String> -IncludedRecipients <None | MailboxUsers | Resources | MailContacts | MailGroups | MailUsers | AllRecipients>
25+
New-DynamicDistributionGroup [-Name] <String> -IncludedRecipients <WellKnownRecipientType>
26+
[-Alias <String>]
27+
[-ArbitrationMailbox <MailboxIdParameter>]
2628
[-ConditionalCompany <MultiValuedProperty>]
2729
[-ConditionalCustomAttribute1 <MultiValuedProperty>]
2830
[-ConditionalCustomAttribute10 <MultiValuedProperty>]
@@ -41,18 +43,16 @@ New-DynamicDistributionGroup [-Name] <String> -IncludedRecipients <None | Mailbo
4143
[-ConditionalCustomAttribute9 <MultiValuedProperty>]
4244
[-ConditionalDepartment <MultiValuedProperty>]
4345
[-ConditionalStateOrProvince <MultiValuedProperty>]
44-
[-Alias <String>]
45-
[-ArbitrationMailbox <MailboxIdParameter>]
4646
[-Confirm]
47-
[-DirectMemershipOnly <$true | $false>]
47+
[-DirectMembershipOnly <$true | $false>]
4848
[-DisplayName <String>]
4949
[-DomainController <Fqdn>]
5050
[-ModeratedBy <MultiValuedProperty>]
5151
[-ModerationEnabled <$true | $false>]
5252
[-OrganizationalUnit <OrganizationalUnitIdParameter>]
5353
[-PrimarySmtpAddress <SmtpAddress>]
5454
[-RecipientContainer <OrganizationalUnitIdParameter>]
55-
[-SendModerationNotifications <Never | Internal | Always>]
55+
[-SendModerationNotifications <TransportModerationNotificationFlags>]
5656
[-WhatIf] [<CommonParameters>]
5757
```
5858

@@ -62,15 +62,15 @@ New-DynamicDistributionGroup [-Name] <String> -RecipientFilter <String>
6262
[-Alias <String>]
6363
[-ArbitrationMailbox <MailboxIdParameter>]
6464
[-Confirm]
65-
[-DirectMemershipOnly <$true | $false>]
65+
[-DirectMembershipOnly <$true | $false>]
6666
[-DisplayName <String>]
6767
[-DomainController <Fqdn>]
6868
[-ModeratedBy <MultiValuedProperty>]
6969
[-ModerationEnabled <$true | $false>]
7070
[-OrganizationalUnit <OrganizationalUnitIdParameter>]
7171
[-PrimarySmtpAddress <SmtpAddress>]
7272
[-RecipientContainer <OrganizationalUnitIdParameter>]
73-
[-SendModerationNotifications <Never | Internal | Always>]
73+
[-SendModerationNotifications <TransportModerationNotificationFlags>]
7474
[-WhatIf] [<CommonParameters>]
7575
```
7676

@@ -142,7 +142,7 @@ You can specify multiple values separated by commas. When you use multiple value
142142
You need to use this parameter when you use any Conditional parameters as part of a precanned filter. You can't use this parameter in combination with the RecipientFilter parameter (which is used to create custom OPath filters).
143143
144144
```yaml
145-
Type: None | MailboxUsers | Resources | MailContacts | MailGroups | MailUsers | AllRecipients
145+
Type: WellKnownRecipientType
146146
Parameter Sets: PrecannedFilter
147147
Aliases:
148148
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
@@ -797,7 +797,7 @@ The SendModerationNotifications parameter specifies when moderation notification
797797
This parameter is only meaningful when moderation is enabled (the ModerationEnabled parameter has the value $true).
798798
799799
```yaml
800-
Type: Never | Internal | Always
800+
Type: TransportModerationNotificationFlags
801801
Parameter Sets: (All)
802802
Aliases:
803803
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online

exchange/exchange-ps/exchange/users-and-groups/Set-DynamicDistributionGroup.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Set-DynamicDistributionGroup [-Identity] <DynamicGroupIdParameter>
6363
[-CustomAttribute7 <String>]
6464
[-CustomAttribute8 <String>]
6565
[-CustomAttribute9 <String>]
66+
[-DirectMembershipOnly <$true | $false>]
6667
[-DisplayName <String>]
6768
[-DomainController <Fqdn>]
6869
[-EmailAddresses <ProxyAddressCollection>]
@@ -77,7 +78,7 @@ Set-DynamicDistributionGroup [-Identity] <DynamicGroupIdParameter>
7778
[-GrantSendOnBehalfTo <MultiValuedProperty>]
7879
[-HiddenFromAddressListsEnabled <$true | $false>]
7980
[-IgnoreDefaultScope]
80-
[-IncludedRecipients <None | MailboxUsers | Resources | MailContacts | MailGroups | MailUsers | AllRecipients>]
81+
[-IncludedRecipients <WellKnownRecipientType>]
8182
[-MailTip <String>]
8283
[-MailTipTranslations <MultiValuedProperty>]
8384
[-ManagedBy <GeneralRecipientIdParameter>]
@@ -97,7 +98,7 @@ Set-DynamicDistributionGroup [-Identity] <DynamicGroupIdParameter>
9798
[-ReportToManagerEnabled <$true | $false>]
9899
[-ReportToOriginatorEnabled <$true | $false>]
99100
[-RequireSenderAuthenticationEnabled <$true | $false>]
100-
[-SendModerationNotifications <Never | Internal | Always>]
101+
[-SendModerationNotifications <TransportModerationNotificationFlags>]
101102
[-SendOofMessageToOriginatorEnabled <$true | $false>]
102103
[-SimpleDisplayName <String>]
103104
[-UMDtmfMap <MultiValuedProperty>]
@@ -1032,6 +1033,23 @@ Accept pipeline input: False
10321033
Accept wildcard characters: False
10331034
```
10341035
1036+
### -DirectMembershipOnly
1037+
This parameter is available only in the cloud-based service.
1038+
1039+
This parameter is reserved for internal Microsoft use.
1040+
1041+
```yaml
1042+
Type: $true | $false
1043+
Parameter Sets: (All)
1044+
Aliases:
1045+
Applicable: Exchange Online
1046+
Required: False
1047+
Position: Named
1048+
Default value: False
1049+
Accept pipeline input: False
1050+
Accept wildcard characters: False
1051+
```
1052+
10351053
### -DisplayName
10361054
The DisplayName parameter specifies the display name of the dynamic distribution group. The display name is visible in the Exchange admin center and in address lists. The maximum length is 256 characters. If the value contains spaces, enclose the value in quotation marks (").
10371055
@@ -1376,7 +1394,7 @@ The IncludedRecipients parameter specifies a precanned filter that's based on th
13761394
You can specify multiple values separated by commas. When you use multiple values, the OR Boolean operator is applied.
13771395
13781396
```yaml
1379-
Type: None | MailboxUsers | Resources | MailContacts | MailGroups | MailUsers | AllRecipients
1397+
Type: WellKnownRecipientType
13801398
Parameter Sets: (All)
13811399
Aliases:
13821400
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
@@ -1908,7 +1926,7 @@ The SendModerationNotifications parameter specifies when moderation notification
19081926
This parameter is only meaningful when moderation is enabled (the ModerationEnabled parameter has the value $true).
19091927
19101928
```yaml
1911-
Type: Never | Internal | Always
1929+
Type: TransportModerationNotificationFlags
19121930
Parameter Sets: (All)
19131931
Aliases:
19141932
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online

0 commit comments

Comments
 (0)