markdmac's Managing Exchange 2007 With PowerShell Scripts
By Mark D. MacLachlan, The Spiders Parlor
http://www.thespidersparlor.com
The following PowerShell script will query AD for users and create mailboxes for them in Exchange 2007. Just replace the servername portion in [red]red[/red] with your Exchange server's name. If you changed the store name from the default, edit the part in [blue]blue[/blue] too.
If you would like to target a specific OU instead of traversing the entire AD tree, you can do so by specifying the OU name. Note the OU name is in [green]green[/green] below.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.