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
Solved

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

Posted on 2008-06-15
6
577 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
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…

809 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