Monthly Archives: February 2012

Look for orphaned Active Directory home directories

This PowerShell script will iterate through all home directory folders in our Windows file share server and search Active Directory for a homeDirectory path value that ends with that folder name (it actually looks for *\<folderName> so it will only … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Detecting disconnected Exchange mailboxes

Here’s how to detect Active Directory accounts that had an Exchange 2010 SP1 mailbox at one time, but the mailbox has since been disconnected, aka disabled. Essentially find all accounts where a msExchWhenMailboxCreated value exists and a homeMDB value does not … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment