How To Get Notified When A User Is Added To An Active Directory Group

When you were hired as an administrator to manage Active Directory, little did you know that you would also need to keep track of all of your group memberships! One of those menial tasks that fall under ‘other duties as assigned’. But hey, never a better time to learn some PowerShell! With PowerShell you can write a monitor that will track group memberships for any number of groups and then have it notify you when changes are made. Anthony will walk you through writing a script to retrieve group memberships using Get-ADGroupMember, compare it to a stored CSV you created using Export-CSV, and then ultimately sending a notification email using Send-MailMessage. Prerequisites include: Active Directory PowerShell module