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.

5 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?

somebody said...

酒店經紀人,菲梵酒店經紀,酒店經紀,禮服酒店上班,酒店小姐,便服酒店經紀,酒店打工,酒店寒假打工,酒店經紀,酒店經紀,專業酒店經紀,合法酒店經紀,酒店暑假打工,酒店兼職,便服酒店工作,酒店打工經紀,制服酒店經紀,專業酒店經紀,合法酒店經紀,酒店暑假打工,酒店兼職,便服酒店工作,酒店打工,酒店經紀,制服酒店經紀,酒店經紀

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.