Script – Mailbox Audit
This is a script I wrote that will look for specific email accounts in an OU, and then send an email to all the people who have access to those email accounts. — Start of Script – #$ErrorActionPreference = "SilentlyContinue" $smtpServer = "[REMOVED]" $smtp = new-object Net.Mail.SmtpClient($smtpServer) $emailFrom = "mkieffer@[REMOVED]" $a = get-user -OrganizationalUnit "[REMOVED]/Corp/Email ...