Wednesday, March 21

How to enable mailboxes in Exchange 2007 for users in particular OU?

With Exchange Management Shell, everything now possible:

Under Exchange Management Shell, type:

Get-User –OrganizationalUnit “DOMAINANME/OUNAME” Enable-Mailbox -Database “SERVERNAME\DATABASENAME

press ENTER.

Poo, what if I have 1000 users inside? All 1000 users will be mailbox enabled!

Is that simple? Yes, it is.

4 comments:

Anonymous said...

Doesn't seem to work. Tried it all in one command and two seperate commands.

Poo Ching Loong said...

Hi, you will need to put it in one line:

Get-User –OrganizationalUnit “DOMAINANME/OUNAME” | Enable-Mailbox -Database “SERVERNAME\DATABASENAME”

You will need the "|" pipe to work. Thanks for the comment.

Anonymous said...

So what if I'm using vista and it wont authenticate?

Alexis said...

I have known my friend Jack for some years. But he applied for help to me. His MS Exchange info was crashed. Only today I could find the proper solution and sent it to him. He was greatly surprised and thanked me a lot. Moreover he presented me a gift and this tool might solve this situation likewise successfully - edb repair.