Tag: Exchange on premises

cmdlet: Remove-DistributionGroupMember

Q: Is there a way to remove a user from a distribution group? A: Yes, there is the built in Remove-DistributionGroupMember cmdlet available, both for an on premises Exchange Server environment and Exchange online tenants. Remove-DistributionGroupMember -Identity GroupName -Member UserName  

cmdlet: Add-DistributionGroupMember

Q: Is there a way to add users to a distribution group? A: Yes, there is the built in Add-DistributionGroupMember cmdlet available, both for an on premises Exchange Server environment and Exchange online tenants. Add-DistributionGroupMember -Identity GroupName -Member UserName  

DAG DB’s flipping all the time randomly for no apparent reason

I have run into this issue several times in my travels and want people to be aware of this problem. In a DAG (Database Availability Group), if your databases are randomly mounting or flipping from one server to another, including across datacenters, you may be allowing your Network Interface Card (NIC) to go to sleep.

cmdlet: Get-DistributionGroupMember

Q: Is there a way to list or get members in a distribution group? A: Yes, there is the built in Get-DistributionGroupMember cmdlet available, both for an on premises Exchange Server environment and Exchange online tenants. Get-DistributionGroupMember -Identity GroupName -Member UserName