Use this along with www.AutoSPInstaller.com @ CodePlex to (nearly) fully automate a single or multi-server SharePoint 2010 deployment. This PowerShell script will use the Active Directory PowerShell snapin to create the preset service accounts used in AutoSPInstaller.
Uses a Creative Commons Public Domain License (CC0) http://creativecommons.org/publicdomain/zero/1.0/ You are free to do what you want with this code.
- Download to a Server 2008 R2 or newer box running the ADDS role (a domain controller) or one with the ADDS snapin installed (RSAT may have it)
- Remember that after downloading script you need to r-click -> properties -> unlock
- Then run PowerShell as administrator and set your execution policy to run scripts. Set-ExecutionPolicy RemoteSigned
- Open the .ps1 file and edit the variables at top
- Now just run the script from that admin PoSh window
- Verify users are created, now go get AutoSPInstaller to automate SharePoint
Enjoy,
- Bret