[Script of Jun. 4] How to remove disabled users from distribution lists

Script Download:   
The script is available for download in Microsoft Script Browser for Windows PowerShell ISE.You need to install the Script Browser application first, and search for the script sample title.

This PowerShell script shows how to remove disabled member from distribution group for Exchange 2010.

Frequently, for some reason, some mailboxes will be disable, if they belong to a distribution list, it is better to remove those disabled users.

image image
 image

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery