Disable mail enabled security group

To disable a mail-enabled security group in Exchange, you can use the following steps:

Method 1: Using the Exchange Management Console

  1. Open the Exchange Management Console.
  2. Navigate to the "Recipient Configuration" node.
  3. Right-click on the security group you want to disable and select "Properties".
  4. In the "Security Group Properties" window, uncheck the box next to "Mail-enabled" under the "General" tab.
  5. Click "OK" to save the changes.

Method 2: Using the Exchange Management Shell

  1. Open the Exchange Management Shell.
  2. Run the following command to disable the mail-enabled security group:
    Set-Group -Identity <GroupName> -RecipientTypeDetails None

    Replace <GroupName> with the actual name of the security group you want to disable.

Method 3: Using PowerShell

  1. Open PowerShell.
  2. Run the following command to disable the mail-enabled security group:
    Get-Group -Identity <GroupName> | Set-Group -RecipientTypeDetails None

    Replace <GroupName> with the actual name of the security group you want to disable.

After disabling the mail-enabled security group, the group will no longer be able to receive or send email. Note that this will not delete the group or its members, but rather disable its mail-enabled features.