How-To : Promote Windows Server 2012 Core to first Domain Controller in Forest


In order to create new Forest and promote Windows Server 2012 Core to be Domain Controller for that Forest, first Active Directory Services Role has to be added:

Install-WindowsFeature AD-Domain-Services –IncludeManagementTools

Once Active Directory DOmain Services role is installed we can promote server to be first Domain Controller in the Forest.

Install-ADDSForest -DomainName "lab.corp" -DomainNetbiosName "LAB" -DomainMode Win2008R2 -ForestMode Win2008R2 -InstallDns -Force

And after some time new Forest and Domain Controller is ready to use.


Tips & Tricks : Configuring IPv4 address on Windows Server 2012 Core with PowerShell


In order to assign static IPv4 address to Windows Server 2012 Core using power shell use:

New-NetIPAddress -IPAddress -InterfaceAlias "Ethernet" -DefaultGateway -AddressFamily IPv4 -PrefixLength 24