Solved

PowerShell Script

Posted on 2011-03-20
3
235 Views
Last Modified: 2012-05-11
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
Comment
Question by:Exchisa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Expert Comment

by:andy_maskell
ID: 35174909
0
 

Author Comment

by:Exchisa
ID: 35225721
thanks for ur reply :
what if users are already exist in the active directory ?
regards
0
 
LVL 4

Accepted Solution

by:
andy_maskell earned 500 total points
ID: 35225790
Try this:

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

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
This video discusses moving either the default database or any database to a new volume.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question