Attempting to create a mailbox for a user in ADUC with Powershell on Exchange Server 2003 Environment
Posted on 2008-06-15
I have been searching on the net and found some very bloated code to create mailboxes for exchange 2003. I was wondering if anyone knew the most efficient way (via a snap-in or whatever) to do this at this development stage of Powershell that we are in. Most of the documents I've read are dated and very hard to follow. I'm not saying it should be easy, but I'm trying to do something like
"Exchange Tasks, Create mailbox, <pick server>, finish". That's it! There's gotta be a native way to do this without 80 lines of code. Any guidance would be very helpful.
I'm imagining something like
New-QADUser -everything you want to put
$mailserver = <server name>
Create-Mailbox -server $mailserver -identity <username>