Add service account and grant Full MAilbox Access to ALL user objects in a particular OU
Posted on 2009-05-15
Windows 2003 AD
I just need a script (vbscript) to target a specific OU in AD and add a user object (I am creating a service account) to the mailbox rights attribute (if mailbox-enabled) and give full mailbox access.
I have circa 600 users I would like to run this against.
Also, if possible, an output to a logfile would be awesome.
Any pointers much appreciated..!