CmdID / PowerShell / Cmdlets / Set
Set-DistributionGroup
Use the Set-DistributionGroup cmdlet to modify the settings of existing distribution groups or mail-enabled security groups. Exchange PowerShell reference
From the Exchange PowerShell reference 71 parameters Its page in the reference
Parameters
Show its 71 parameters
-IdentityThe Identity parameter specifies the distribution group or mail-enabled security group that you want to modify.-AcceptMessagesOnlyFromThe AcceptMessagesOnlyFrom parameter specifies who is allowed to send messages to this recipient.-AcceptMessagesOnlyFromDLMembersThe AcceptMessagesOnlyFromDLMembers parameter specifies who is allowed to send messages to this recipient.-AcceptMessagesOnlyFromSendersOrMembersThe AcceptMessagesOnlyFromSendersOrMembers parameter specifies who is allowed to send messages to this recipient.-AliasThe Alias parameter specifies the Exchange alias (also known as the mail nickname) for the recipient.-ArbitrationMailboxThe ArbitrationMailbox parameter specifies the arbitration mailbox that's used to manage the moderation process for this recipient.-BccBlockedThe BccBlocked parameter specifies whether members of the group don't receive messages if the group is used in the Bcc line.-BypassModerationFromSendersOrMembersThe BypassModerationFromSendersOrMembers parameter specifies who is allowed to send messages to this moderated recipient without approval from a moderator.-BypassNestedModerationEnabledThe ByPassNestedModerationEnabled parameter specifies how to handle message approval when a moderated group contains other moderated groups as members.-BypassSecurityGroupManagerCheckThe BypassSecurityGroupManagerCheck switch specifies whether to allow a user who isn't an owner of the group to modify or delete the group.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-CreateDTMFMapThe CreateDTMFMap parameter specifies whether to create a dual-tone multiple-frequency (DTMF) map for the recipient.-CustomAttribute1This parameter specifies a value for the CustomAttribute1 property on the recipient.-CustomAttribute10This parameter specifies a value for the CustomAttribute10 property on the recipient.-CustomAttribute11This parameter specifies a value for the CustomAttribute11 property on the recipient.-CustomAttribute12This parameter specifies a value for the CustomAttribute12 property on the recipient.-CustomAttribute13This parameter specifies a value for the CustomAttribute13 property on the recipient.-CustomAttribute14This parameter specifies a value for the CustomAttribute14 property on the recipient.-CustomAttribute15This parameter specifies a value for the CustomAttribute15 property on the recipient.-CustomAttribute2This parameter specifies a value for the CustomAttribute2 property on the recipient.-CustomAttribute3This parameter specifies a value for the CustomAttribute3 property on the recipient.-CustomAttribute4This parameter specifies a value for the CustomAttribute4 property on the recipient.-CustomAttribute5This parameter specifies a value for the CustomAttribute5 property on the recipient.-CustomAttribute6This parameter specifies a value for the CustomAttribute6 property on the recipient.-CustomAttribute7This parameter specifies a value for the CustomAttribute7 property on the recipient.-CustomAttribute8This parameter specifies a value for the CustomAttribute8 property on the recipient.-CustomAttribute9This parameter specifies a value for the CustomAttribute9 property on the recipient.-DescriptionThe Description parameter specifies an optional description for the distribution group.-DisplayNameThe DisplayName parameter specifies the display name of the group.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-EmailAddressesThe EmailAddresses parameter specifies all email addresses (proxy addresses) for the recipient, including the primary SMTP address.-EmailAddressPolicyEnabledThe EmailAddressPolicyEnabled parameter specifies whether to apply email address policies to this recipient.-ExpansionServerThe ExpansionServer parameter specifies the Exchange server that's used to expand the distribution group.-ExtensionCustomAttribute1This parameter specifies a value for the ExtensionCustomAttribute1 property on the recipient.-ExtensionCustomAttribute2This parameter specifies a value for the ExtensionCustomAttribute2 property on the recipient.-ExtensionCustomAttribute3This parameter specifies a value for the ExtensionCustomAttribute3 property on the recipient.-ExtensionCustomAttribute4This parameter specifies a value for the ExtensionCustomAttribute4 property on the recipient.-ExtensionCustomAttribute5This parameter specifies a value for the ExtensionCustomAttribute5 property on the recipient.-ForceUpgradeThe ForceUpgrade switch suppresses the confirmation message that appears if the object was created in a previous version of Exchange.-GrantSendOnBehalfToThe GrantSendOnBehalfTo parameter specifies who can send on behalf of this group.-HiddenFromAddressListsEnabledThe HiddenFromAddressListsEnabled parameter specifies whether this recipient is visible in address lists.-HiddenGroupMembershipEnabledThe HiddenGroupMembershipEnabled switch specifies whether to hide the members of the distribution group from users who aren't members of the group.-IgnoreDefaultScopeThe IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange PowerShell session, and to use the entire forest as the scope.-IgnoreNamingPolicyThe IgnoreNamingPolicy switch specifies whether to prevent this group from being affected by your organization's group naming policy.-MailTipThe MailTip parameter specifies the custom MailTip text for this recipient.-MailTipTranslationsThe MailTipTranslations parameter specifies additional languages for the custom MailTip text that's defined by the MailTip parameter.-ManagedByThe ManagedBy parameter specifies an owner for the group.-MaxReceiveSizeThe MaxReceiveSize parameter specifies the maximum size of an email message that can be sent to this group.-MaxSendSizeThe MaxSendSize parameter specifies the maximum size of an email message that can be sent by this group.-MemberDepartRestrictionThe MemberDepartRestriction parameter specifies the restrictions that you put on requests to leave the group.-MemberJoinRestrictionThe MemberJoinRestriction parameter specifies the restrictions that you put on requests to join the group.-ModeratedByThe ModeratedBy parameter specifies one or more moderators for this recipient.-ModerationEnabledThe ModerationEnabled parameter specifies whether moderation is enabled for this recipient.-NameThe Name parameter specifies the unique name of the group.-PrimarySmtpAddressThe PrimarySmtpAddress parameter specifies the primary return email address that's used for the recipient.-RejectMessagesFromThe RejectMessagesFrom parameter specifies who isn't allowed to send messages to this recipient.-RejectMessagesFromDLMembersThe RejectMessagesFromDLMembers parameter specifies who isn't allowed to send messages to this recipient.-RejectMessagesFromSendersOrMembersThe RejectMessagesFromSendersOrMembers parameter specifies who isn't allowed to send messages to this recipient.-ReportToManagerEnabledThe ReportToManagerEnabled parameter specifies whether delivery status notifications (also known as DSNs, non-delivery reports, NDRs, or bounce messages) are sent to the owner (first one listed if mo…-ReportToOriginatorEnabledThe ReportToOriginatorEnabled parameter specifies whether delivery status notifications (also known as DSNs, non-delivery reports, NDRs, or bounce messages) are sent to senders who send messages to t…-RequireSenderAuthenticationEnabledThe RequireSenderAuthenticationEnabled parameter specifies whether to accept messages only from authenticated (internal) senders.-ResetMigrationToUnifiedGroupThe ResetMigrationToUnifiedGroup switch specifies whether you want to reset the flag that indicates the migration of the distribution group to a Microsoft 365 Group is in progress.-RoomListThe RoomList switch specifies that all members of this distribution group are room mailboxes.-SamAccountNameThe SamAccountName parameter (also known as the pre-Windows 2000 user account or group name) specifies an object identifier that's compatible with older versions of Microsoft Windows client and serve…-SendModerationNotificationsThe SendModerationNotifications parameter specifies when moderation notification messages are sent.-SendOofMessageToOriginatorEnabledThe SendOofMessageToOriginatorEnabled parameter specifies how to handle out of office (OOF) messages for members of the group.-SimpleDisplayNameThe SimpleDisplayName parameter is used to display an alternative description of the object when only a limited set of characters is permitted.-UMDtmfMapThe UMDtmfMap parameter specifies the dual-tone multiple-frequency (DTMF) map values for the recipient.-UpdateMemberCount-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.-WindowsEmailAddressThe WindowsEmailAddress parameter specifies the Windows email address for this recipient.