Set-DistributionGroup

1st Microsoft Example

Set-DistributionGroup -Identity <DistributionGroupIdParameter> 
[-AcceptMessagesOnlyFrom <MultiValuedProperty>] 
[-AcceptMessagesOnlyFromDLMembers <MultiValuedProperty>] 
[-AcceptMessagesOnlyFromSendersOrMembers <MultiValuedProperty>] 
[-Alias <String>] 
[-ArbitrationMailbox <MailboxIdParameter>] 
[-BypassModerationFromSendersOrMembers <MultiValuedProperty>] 
[-BypassNestedModerationEnabled <$true | $false>] 
[-BypassSecurityGroupManagerCheck <SwitchParameter>] 
[-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>] 
[-ExtensionCustomAttribute1 <MultiValuedProperty>] 
[-ExtensionCustomAttribute2 <MultiValuedProperty>] 
[-ExtensionCustomAttribute3 <MultiValuedProperty>] 
[-ExtensionCustomAttribute4 <MultiValuedProperty>] 
[-ExtensionCustomAttribute5 <MultiValuedProperty>] 
[-ForceUpgrade <SwitchParameter>] 
[-GrantSendOnBehalfTo <MultiValuedProperty>] 
[-HiddenFromAddressListsEnabled <$true | $false>] 
[-IgnoreDefaultScope <SwitchParameter>] 
[-IgnoreNamingPolicy <SwitchParameter>] 
[-MailTip <String>] 
[-MailTipTranslations <MultiValuedProperty>] 
[-ManagedBy <MultiValuedProperty>] 
[-MaxReceiveSize <Unlimited>]
[-MaxSendSize <Unlimited>] 
[-MemberDepartRestriction <Closed | Open | ApprovalRequired>] 
[-MemberJoinRestriction <Closed | Open | ApprovalRequired>] 
[-ModeratedBy <MultiValuedProperty>] 
[-ModerationEnabled <$true | $false>] 
[-Name <String>] 
[-PrimarySmtpAddress <SmtpAddress>] 
[-RejectMessagesFrom <MultiValuedProperty>] 
[-RejectMessagesFromDLMembers <MultiValuedProperty>] 
[-RejectMessagesFromSendersOrMembers <MultiValuedProperty>] 
[-ReportToManagerEnabled <$true | $false>] 
[-ReportToOriginatorEnabled <$true | $false>] 
[-RequireSenderAuthenticationEnabled <$true | $false>] 
[-RoomList <SwitchParameter>] 
[-SamAccountName <String>] 
[-SendModerationNotifications <Never | Internal | Always>] 
[-SendOofMessageToOriginatorEnabled <$true | $false>] 
[-SimpleDisplayName <String>] 
[-UMDtmfMap <MultiValuedProperty>] 
[-WhatIf [<SwitchParameter>]] 
[-WindowsEmailAddress <SmtpAddress>] 
[<CommonParameters>]