Skip to content

Mohammed Wasay

Primary Menu
  • About
  • Blog
  • Contact
  • Get NordVPN
  • Home

Tag: lists

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

Posted on November 10, 2016 by mo wasay

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: # […]

Continue Reading

Remove group membership of disabled accounts

Posted on April 25, 2016August 22, 2016 by mo wasay

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 […]

Continue Reading
Copyright all rights reserved | Theme: Minimal Blog by WPinterface.