MsExchange Blog Spot Telnet25

April 2, 2009

Create Bulk Users Exchange 2007

Filed under: General (1) — telnet25 @ 3:10 pm

Several times I blog about this and tons of information available on the internet. Yet again I was asked to provide little demo to produce test users on the LAB environment. Here is the video and the simple instructions to get the work done


filmHere is the videosmile_party

1..10 | ForEach { Net User "Hr$_" MyPassword=01 /ADD /Domain;Enable-Mailbox "HR$_" -Database SG1-MB1 }

Couple things need to be modified here,

First the above PS command will create 10 users if you like to change the number of users change this accordingly

  1. 1..10  lets say to 1..100 now it will create 100 users
  2. “User$ ( change this whatever name you like to use for the test users, so if I want to create users called HR I would do as below

1..10 | ForEach { Net User "Hr$_" MyPassword=01 /ADD /Domain;Enable-Mailbox "HR$_" -Database SG1-MB1 }

Above one liner PS will create 10 users called HR, and don’t forget my database name is SG1-MB1 so you will have to change to your own. If you do not know what it is, open EMS (Management Shell)

Get-mailboxDatabase  ( as you see below the name is SG1-MB1)


Once you happy with number of users will CMDlet create and you also happy with user name and modified the mailbox database name according to yours copy and paste the above into EMC

Oz Casey Dedeal

MVP (Exchange)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server + (Blog) (Blog


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: