How to Add a Domain Controller using PowerShell
To use Install-ADDSDomainController, only three things are required:
Domain name, Credentials, Directory Services Restore Mode password. Similar information which we had to input in the domain controller promotions stage of GUI install.
Install-ADDSDomainController “forsyth.local”
Your Core Server 2012 should now be part of the domain
Remove the DHCP on DC1, through Manage Remove Roles or Services
Remove DHCP from DC and implement DHCP on server core
Make sure it has a manually assigned IP. ( you can use SCVMM 2012 SP1 CTP1/2 – or Set-NetIPAddress ).
Add the DHCP role:
Add-WindowsFeature DHCP
Create a scope:
Add-DhcpServerv4Scope –StartRange 172.16.1.40 –EndRange 172.16.1.50 –SubnetMask 255.255.0.0 –Name “172.16.1.x” –State Active
That is it. Just create a VM and test it.
Administer Server core DHCP from Server GUI
I wasnt really sure how Bob wanted this done but… Here is how i’d do it.
Using the following command on your Server Core
Import-Module Dism
Enable-WindowsOptionalFeature –online -Featurename ServerCore-FullServer,Server-Gui-Shell,Server-Gui-Mgmt
It takes a few minutes, but once you are done you can reboot you have the full GUI environment to edit an alter what you would usually do on a GUI version of Server 2012