1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Set Up 300 Lab Users in Under a Minute

Discussion in 'Training & Development' started by derkit, Mar 5, 2010.

  1. derkit

    derkit Gigabyte Poster

    1,479
    54
    112
    Stumbled across this little gem - may be some use to someone

    Blog from Train Signal site HERE!

    Actual how to do it Quick Post – Script to Create Lab Users – Powershell version…
     
    Certifications: MBCS, BSc(Hons), Cert(Maths), A+, Net+, MCDST, ITIL-F v3, MCSA
    WIP: 70-293
  2. Gingerdave

    Gingerdave Megabyte Poster

    991
    44
    74
    Nice - Repped
     
    Certifications: A+,MCP, MCDST, VCP5 /VCP-DV 5, MCTS AD+ Net Inf 2008, MCSA 2008
    WIP: MCSA 2012
  3. craigie

    craigie Terabyte Poster

    3,020
    173
    155
    I go manual using Excel:

    User Display Dsadd Statement UPN Display PWD Homedir Hmdrv Profile
    Test01 Test01 dsadd user cn=Test01,ou=United Kingdom,ou=Users,dc=Test,dc=Local -upn Test01@Test.Local -display Test01 -pwd Password99 -hmdir "\\Test\Users\%Username%" -hmdrv P: -profile "\\Col-Scr\Test\%Username%"

    All of the above uses concatenate, so that all I type in is the User field, it then results in a dsadd which I make into a batch file

    dsadd user cn=Test01,ou=United Kingdom,ou=Users,dc=Test,dc=Local -upn Test01@Test.Local -display Test01 -pwd Password99 -hmdir "\\Test\Users\%Username%" -hmdrv P: -profile "\\Col-Scr\Test\%Username%"
     
    Certifications: CCA | CCENT | CCNA | CCNA:S | HP APC | HP ASE | ITILv3 | MCP | MCDST | MCITP: EA | MCTS:Vista | MCTS:Exch '07 | MCSA 2003 | MCSA:M 2003 | MCSA 2008 | MCSE | VCP5-DT | VCP4-DCV | VCP5-DCV | VCAP5-DCA | VCAP5-DCD | VMTSP | VTSP 4 | VTSP 5
  4. Boycie
    Honorary Member

    Boycie Senior Beer Tester

    6,281
    85
    174
    Not even Sparky can do that!
    Seriously, thanks for posting.
     
    Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
  5. derkit

    derkit Gigabyte Poster

    1,479
    54
    112
    Ginger/Boycie - no worries :D

    Craigie - alright, your balls are the biggest, I surrender! :biggrin
     
    Certifications: MBCS, BSc(Hons), Cert(Maths), A+, Net+, MCDST, ITIL-F v3, MCSA
    WIP: 70-293
  6. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    10,191
    299
    319
    Haha! :biggrin

    You missed all my powershell scripts last weekend when I was migrating to a 500 user mailbox Exchange 2007 environment from some crappy IMAP server!

    Great when it works, nightmware when it doesnt! :biggrin
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010
  7. Boycie
    Honorary Member

    Boycie Senior Beer Tester

    6,281
    85
    174
    I bet mate. Just learning a bit about powershell at the mo - very good stuff! Still can't export a mailbox at one place thou :biggrin
     
    Last edited: Mar 5, 2010
    Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
  8. westernkings

    westernkings Gigabyte Poster

    1,432
    60
    107
    Thanks for this mate.

    Great Stuff.

    +REPPED
     
    Certifications: MCITP:VA, MCITP:EA, MCDST, MCTS, MCITP:EST7, MCITP:SA, PRINCE2, ITILv3
  9. Josiahb

    Josiahb Gigabyte Poster

    1,336
    40
    97
    I can imagine, we had to migrate 60 mailboxes (from a ****ty IMAP server) here and that was a big enough ball ache. 500 is true skills!

    Seriously though, nice info derkit repped :)
     
    Certifications: A+, Network+, MCDST, ACA – Mac Integration 10.10

Share This Page

Loading...