[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

PowerShell Script

Hello All .

I need to create a bulk of mailboxs using script .
all users are already created in AD .
can anyone show me that script ? we are using exch 2010 sp1 .
thanks
0
Exchisa
Asked:
Exchisa
  • 2
1 Solution
 
andy_maskellCommented:
0
 
ExchisaAuthor Commented:
thanks for ur reply :
what if users are already exist in the active directory ?
regards
0
 
andy_maskellCommented:
Try this:

get-user | where-object{$_.RecipientType –eq "User"} | Enable-Mailbox –Database "servername\Mailbox Database" | get-mailbox | select name,windowsemailaddress,database
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now