Quick tip for the day.

Ever wanted to remove an alias from a Distribution Group and wondered how to do this with the Exchange Management Shell (EMS).

It is pretty simple, you run the following command below:

  • Set-distributiongroup GroupEmailAddress –EmailAddresses @{remove=’AliasAddress’}

Replace the “GroupEmailAddress” with the Primary SMTP address and then the AliasAddress is the one you want to remove.

Exchange 2019:- how do i open the exchange management shell on windows server 2019 core?

Hope it helps.

Discover more from Everything-PowerShell

Subscribe now to keep reading and get access to the full archive.

Continue reading