?
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
?
583 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

After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this video we show how to create an email address policy 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 Mail Flow…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

771 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