Solved

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

Posted on 2008-06-15
6
579 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
This video discusses moving either the default database or any database to a new volume.

690 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