Zachary Loeber

I eat complexity and am never without a meal.

Exchange: Remove entire OU from address book

Here is another script that I hacked together in part of an AD/Exchange cleanup task to remove disabled users from the address book. This script, more specifically, removes an entire OU of users from the address book, so make sure that all the users are disabled in the OU you will be running this against! 🙂

Save as a VBS file and run from your exchange server: