Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2008-06-15
6
Medium Priority
?
586 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

604 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