Adding users with mailboxes to Standard DL PowerShell RRS feed

  • Question

  • I have this BIG Standard DL Exchange 2010.  It has got loads of disabled users in it and not properly up to date and when emails are sent to it, does not go to all cos those users are not in this DL, were not added manually.  Poor on-boarding process.

    Want to avoid to convert this to a Dynamic DL due to various reasons I read.

    I was thinking to come up with a Powershell which runs daily after hours and does the following:

    - Check to see if a new user with mailbox was created today on-prem/o365 add it to this standard DL?

    I can start with add-distributiongroupmember but I need some assistance with the entire script.  I will be working on this.

    Much appreciated!

    Friday, July 17, 2020 4:48 PM

All replies