Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

PowerShell Script

Posted on 2011-03-20
3
Medium Priority
?
246 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 2000 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

721 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