CmdID / PowerShell / Cmdlets / Update
Update-DistributionGroupMember
Use the Update-DistributionGroupMember cmdlet to replace all members of distribution groups and mail-enabled security groups. Exchange PowerShell reference
From the Exchange PowerShell reference 6 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the distribution group or mail-enabled security group that you want to modify.-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.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-MembersThe Members parameter specifies the recipients (mail-enabled objects) that replace the current group members.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.