Menu Sidebar
Menu

distribution

Remove disabled users from Distribution Lists & Security Groups in Active Directory

One of my clients had several disabled users showing up in distribution lists and security groups and this was creating unnecessary noise in email, alerts, etc. I highly encourage all administrators to keep their AD neat and tidy. The following PowerShell script searches for disabled users in Groups and Distribution Groups and removes them:

[…]

Find out ‘in cloud’ Distribution Groups

Microsoft Teams was announced yesterday and many want to jump right in. I noticed when users wanted to create teams, new distribution groups started getting added. I wanted to find out my ‘In cloud’ distribution groups and was surprised there was no property for the item.   I was able to find out the groups […]

Remove group membership of disabled accounts

Majority of the system administrators I’ve met forget this very important rule. When an account is not needed remove its membership from the security/ distribution groups, otherwise you get disabled account showing up in groups, and that looks ugly. You will need Quest ActiveRoles for Powershell installed to get this working. Depending on the size […]

Make yourself Owner of All Distribution Groups

There are a number of reasons why you may want to make your self an owner of all distribution groups in Office 365. One is that you are an IT Administrator of the organisation in question and wish to moderate the distribution groups in the Exchange Online GUI/PowerShell without running in to permission problems. First […]

Mohammed Wasay

Dallas based Design Technologist & Hybrid Developer