Good EMS create users script
Hi,I am looking for a Exchange Management Shell script to create multiple users, these would all be new users in AD, not just new mailbox users. From the books I have read, I would expect it to look something similar to:New-Mailbox -Alias User -Database "Storage Group 1/Mailbox Database 1" -Name NewUser -OrganizationalUnit Users -FirstName New -LastName User -DisplayName "New User" -UserPrincipalName newuser@mydomain.com\Im just not sure how to specify the variables. I think this would be something similar to:-Name = $usernameBut where do I define the username, especially if I want to create multiple users?As you can see, I have some comfort with EMS, but I am not an expert by any means. Any assistance would be appreciated.ThanksScotty
December 18th, 2008 1:38am

Hi Scotty,You can get inputs from a CSV file and pass those data to various switches of New-Mailbox.Please find some of the step by step guides with detailed explanation and sample to create bulk mailboxes from CSV files.References:Exchange Server 2007: Bulk creation of mailboxes using Exchange Management Shell http://www.exchangepedia.com/blog/2006/11/exchange-server-2007-bulk-creation-of.htmlBulk Create Mailboxeshttp://www.exchangeninjas.com/bulkcreatemailboxesSimilarly you can manage your recipients with one-liner commandsin EMS and here are some of the good examples to start.Exchange Server 2007 recipient management one-liners http://msexchangeteam.com/archive/2006/09/05/428833.aspxEMS is a wide topic, you can manage exchange environment with better, simple and automatic way. Here is an good article to start from basics.Using the Exchange Management Shell http://technet.microsoft.com/en-us/library/bb123778.aspxAmit Tank || MVP - Exchange || MCITP - Exchange 2007 || http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
December 18th, 2008 7:25am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics