Windows Vista Forums

User Account creation
  1. #1


    Sabo, Eric Guest

    User Account creation

    We currently use vb script to create our accounts within our active
    directory. Now that we have Exchange 2007 with our environment, we would
    like to incorporate the new powershell commands when creating an account
    that has a exchange 2007 mailbox. Can this been done? Do we still keep
    our vb scripts and just make a powershell call - If so how is this done?
    Or do we convert all of our vs scripts into powershell ?





    Thanks in advance,

    Eric Sabo




      My System SpecsSystem Spec

  2. #2


    Shay Levi Guest

    Re: User Account creation

    In The last screen of the user creation wizard in Exchange 2007 you'll see
    the PowerShell command for
    the creation process. You can copy it and make the modifications you need
    to make the command
    more generic.

    Then you can turn it into a script or even modify it read from a CSV file
    for bulk user creation.

    Check out this link:
    Exchange Server 2007: Bulk creation of mailboxes using Exchange Management
    Shell:
    http://exchangepedia.com/blog/2006/1...eation-of.html


    -----
    Shay Levi
    $cript Fanatic
    http://scriptolog.blogspot.com
    Hebrew weblog: http://blogs.microsoft.co.il/blogs/scriptfanatic



    > We currently use vb script to create our accounts within our active
    > directory. Now that we have Exchange 2007 with our environment, we
    > would like to incorporate the new powershell commands when creating an
    > account that has a exchange 2007 mailbox. Can this been done? Do
    > we still keep our vb scripts and just make a powershell call - If so
    > how is this done? Or do we convert all of our vs scripts into
    > powershell ?
    >
    > Thanks in advance,
    >
    > Eric Sabo
    >


      My System SpecsSystem Spec

  3. #3


    Marco Shaw [MVP] Guest

    Re: User Account creation

    Sabo, Eric wrote:

    > We currently use vb script to create our accounts within our active
    > directory. Now that we have Exchange 2007 with our environment, we
    > would like to incorporate the new powershell commands when creating an
    > account that has a exchange 2007 mailbox. Can this been done? Do we
    > still keep our vb scripts and just make a powershell call - If so how is
    > this done? Or do we convert all of our vs scripts into powershell ?
    >
    >
    >
    >
    >
    > Thanks in advance,
    >
    > Eric Sabo
    >
    You can keep your VBScripts and call PowerShell for the mailbox part.
    Going through an exercise of converting all your scripts can be time
    consuming, but still a good learning experience.

    An example of calling PowerShell from VBScript:
    http://blog.sapien.com/current/2006/...owershell.html

    Marco

    --
    Microsoft MVP - Windows PowerShell
    http://www.microsoft.com/mvp

    PowerGadgets MVP
    http://www.powergadgets.com/mvp

    Blog:
    http://marcoshaw.blogspot.com

      My System SpecsSystem Spec

  4. #4


    RichS Guest

    Re: User Account creation

    Don't forget the Quest AD cmdlets if you just want to create AD accounts
    --
    Richard Siddaway
    Please note that all scripts are supplied "as is" and with no warranty
    Blog: http://richardsiddaway.spaces.live.com/
    PowerShell User Group: http://www.get-psuguk.org.uk


    "Marco Shaw [MVP]" wrote:

    > Sabo, Eric wrote:

    > > We currently use vb script to create our accounts within our active
    > > directory. Now that we have Exchange 2007 with our environment, we
    > > would like to incorporate the new powershell commands when creating an
    > > account that has a exchange 2007 mailbox. Can this been done? Do we
    > > still keep our vb scripts and just make a powershell call - If so how is
    > > this done? Or do we convert all of our vs scripts into powershell ?
    > >
    > >
    > >
    > >
    > >
    > > Thanks in advance,
    > >
    > > Eric Sabo
    > >
    >
    > You can keep your VBScripts and call PowerShell for the mailbox part.
    > Going through an exercise of converting all your scripts can be time
    > consuming, but still a good learning experience.
    >
    > An example of calling PowerShell from VBScript:
    > http://blog.sapien.com/current/2006/...owershell.html
    >
    > Marco
    >
    > --
    > Microsoft MVP - Windows PowerShell
    > http://www.microsoft.com/mvp
    >
    > PowerGadgets MVP
    > http://www.powergadgets.com/mvp
    >
    > Blog:
    > http://marcoshaw.blogspot.com
    >

      My System SpecsSystem Spec

User Account creation problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Account Creation Problem Mystman414 General Discussion 3 15 Feb 2009
Receive only new messages in new account creation... Elias Vista mail 1 01 Nov 2008
Creation of invisible Service Account mcbaerentzen Vista account administration 2 03 Apr 2008
New user account creation fails - Vista 64 Ultimate shikarishambu Vista account administration 7 12 Apr 2007
WinMail API - Account Creation Ryan Vista mail 1 30 Sep 2006