Monthly Archives: August 2015

Search Active Directory for a list of email addresses

I’m occasionally asked to provide a list of account names based on a list of email addresses. This is pretty straight foward when the list of addresses contains only primary email addresses. Get-Content C:\scripts\users.txt | %{Get-ADUser -Filter {mail -like $_} … Continue reading

Posted in PowerShell | 1 Comment