Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

creating mailbox for bulk users

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> Management >> creating mailbox for bulk users Page: [1]
Login
Message << Older Topic   Newer Topic >>
Limited time MSExchange.org offer! -- 1.Sep.2008 1:00:00 PM
TechGenix and SolarWinds have partnered to provide free copies of SolarWinds Exchange Monitor to all visitors who join the MSExchange.org Forums. SolarWinds Exchange Monitor is a handy desktop dashboard that continuously monitors Microsoft Exchange to deliver real-time insight into Exchange services, mail queue sizes, and host server health. Learn more about Exchange Monitor and the free offer!
creating mailbox for bulk users - 17.Apr.2007 5:38:40 AM   
sikkalgopal

 

Posts: 9
Joined: 6.Feb.2007
Status: offline
Hi All,

For testing purpose i created 1000 of users in Active Directory Users and computers by scrypts.(script given below) In 2003 by right clicking and selecting Exchange Tasks i can able to create mailboxes for all the users in a single shot.But after installing Exchange 2007 i cant find any exchange tasks in the users properties.

How to create mailboxes for all users in a single step.or Is there any special syntacs included in the script.

FOR /L % i in (1,1,1000) DO dsadd user "cn=s1test%i,ou=FirstStore,dc=uk,dc=mycompanyname,dc=com" -samid test%i -upn s1test%i@uk.mycompanyname.com -fn test -ln  s1test%i -display "s1test %i" -pwd xxxxxxx -disabled no

_____________________________

Want use Cross platform backup ? Use STOREGRID
.Its really cool.
Post #: 1
RE: creating mailbox for bulk users - 17.Apr.2007 7:41:59 AM   
Henrik Walther

 

Posts: 6848
Joined: 21.Nov.2002
From: Copenhagen, Denmark
Status: offline
In order to mail-enable AD user objects you must use either the Exchange 2007 management console or shell.

For more info about bulk user management in Exchange 2007, see:
http://technet.microsoft.com/en-us/library/bb310752.aspx


_____________________________

HTH
Henrik Walther
Exchange MVP | MCM: Exchange 2007
MCITP: EMA, MCITP: EA, MCSE: M+S

Order my Exchange Server 2007 Book!

(in reply to sikkalgopal)
Post #: 2
RE: creating mailbox for bulk users - 7.May2007 6:34:10 PM   
knsmith

 

Posts: 13
Joined: 14.Sep.2004
From: Colorado
Status: offline
Since the active directory accounts have already been created you can enable the user mailboxes for those users via the Exchange management shell with this script:

1..1000 | foreach { Enable-Mailbox test$_@uk.mycompanyname.com -TargetDatabase:"Mailbox Database" }

You could also create the accounts and mailboxes at the same time with a similar script using the New-Mailbox cmdlet. (http://technet.microsoft.com/en-us/library/aa997663.aspx

--Nick

(in reply to Henrik Walther)
Post #: 3

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> Management >> creating mailbox for bulk users Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts