Enabling New-MailUsers from AD Objects
Hi, At the moment Im enabling new-mail users by importing a csv file into exchange 2007, Is there a way to directly import them from AD and enabling New-Mailusers without using a csv file. Thanks...........
June 11th, 2009 4:24pm
HI,
You can use below Command in Exchange managament shell
Get-User OrganizationalUnit DOMAINANME/OUNAME | Enable-Mailbox -Database SERVERNAME\DATABASENAME
Replase Domain name ,OU name ,Servername and database as your matches
Regards
Chinthaka
Free Windows Admin Tool Kit Click here and download it now
June 11th, 2009 4:33pm
Since you need to give external email address in Enable-MailUser cmdlet and it should be dynamic for all user, it would be better to use csv file by putting all external email address in it and make all users mail enabled.
Amit Tank | MVP Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com
June 11th, 2009 5:00pm
Thanks again , it worked perfect !
Free Windows Admin Tool Kit Click here and download it now
June 15th, 2009 1:52pm