Need to set up all aspects of a simple DC with powershell.
Starting from and empty win 2012 server I need to add the server role, promote it to DC, create OUs (organisational units), groups, users and so on and so forth.
The script can be run locally on (the soon to be) DC.
It's a very simple design:
DC (hosting MYDOMAIN)
Please provide links and examples!