Creating new Exchange 2007 mailboxes using Exchange Command Shell
Hi,A two-partquestion:1. What is the appropriate Powershell script command for creatingExchange mailboxes forexisting Active Directoryusers?The new-mailbox syntax:http://technet.microsoft.com/en-us/library/aa997663.aspximplies a newActive Directory user will be created -the password is a required field. But what ifI need to create an Exchange 2007 mailbox for an already existing Active Directory user? It's certainly possible as a manual task(when using Exchange Console) but I couldn'tfind a scripted/automated way to do this. Any ideas?2. Part two of the question - scripting is one thing but how to fully automate the creation of Exchange mailboxes using .NET and Visual Studio 2008?All myresearch so far hints Exchange taskscan only be run on the Exchange server, unlikethe Active Directory tasks, which can be targeted fromanyaccount within the domain. It would be really handy if there existed a way to run these Exchange tasks using .NET so that departmental heads could use our intranet application to create mailboxes fornew employees (departmental heads have appropriate Active Directory permissions).We use Exchange 2007 SP1 and Windows Server 2003 R2Thanks
March 31st, 2009 10:14am

Hello, 1. You need to use Enable-Mailbox cmdlet to create a mailbox for existing AD user, check below article for the procedure in EMC and EMS. How to Create a Mailbox for an Existing User http://technet.microsoft.com/en-us/library/aa998319.aspx 2. This question you need to ask in Development forum area to get proper direction... Microsoft TechNet>Forums Home>Exchange Server>DevelopmentAmit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
March 31st, 2009 10:58am

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

Other recent topics Other recent topics