Solved

Attempting to create a mailbox for a user in ADUC with Powershell on Exchange Server 2003 Environment

Posted on 2008-06-15
6
574 Views
Last Modified: 2012-06-27
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>

Any ideas?
0
Comment
Question by:Dale Harris
  • 3
  • 2
6 Comments
 
LVL 18

Expert Comment

by:BSonPosh
ID: 21789827
I have never had to to do this, but I will poke around and see what I can find.
0
 
LVL 18

Accepted Solution

by:
BSonPosh earned 500 total points
ID: 21789848
Unfortunately... there are no CMDLets out there for Exch 2003. Perhaps you could make a script called Create-Mailbox. You can use this for guidance.

http://www.codeguru.com/csharp/csharp/cs_misc/e-mail/article.php/c14009/
0
 
LVL 16

Author Comment

by:Dale Harris
ID: 21791154
Well thanks for the input.  If they come out with one in the future, would you post it on your blog page?  I'm assuming they have to be coming out with one soon.  I'll try this and see how it goes, but I'm going to go ahead and close the question.  As far as I'm concerned, you're the only expert on this site for Powershell :)

-Dale Harris
0
 
LVL 16

Author Closing Comment

by:Dale Harris
ID: 31467309
Hey Brandon, thanks again.  BTW, since only you and I can read this, I appreciate all of your help since I'm in Iraq, deployed, and I don't have a lot of bandwidth to spend surfing for results.  Also, getting answers to our hard questions are pretty huge if you think about the implications.  I've served for just over 4 years now and have 2 left.  If the questions are a little tame, it's because sometimes the easy way out for me is to just go on EE and post.  
0
 
LVL 18

Expert Comment

by:BSonPosh
ID: 21792779
I am not entirely sure if they (MS) will invest the time, but perhaps some third-party will. Lets just hope people move to Exchange 2007 quickly :)
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
how to add IIS SMTP to handle application/Scanner relays into office 365.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now