CmdID / PowerShell / Cmdlets / Disable
Disable-DistributionGroup
Use the Disable-DistributionGroup cmdlet to remove email capabilities from existing mail-enabled security groups and distribution groups. Exchange PowerShell reference
From the Exchange PowerShell reference 5 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the distribution group or mail-enabled security group that you want to mail-disable.-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.-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.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.