I am playing around with Windows Server 8, and wanted to setup a first domain controller for the Windows Server 8 test domain. Since I like the command-line, I configured the Ip address using the netsh cmdlet and changed the computer name using netdom. After the reboot, I reopened Powershell and ran "DcPromo", which gave me following answer:
First we Import the server manager to check the availability of Active Directory services:
The feature we where looking for is the "AD-Domain-Services"
Add the feature using the Add-WindowsFeature CmdLet
The new commandlet that is available is the ADDSDeployment. Import the new module:
I used following command for setting up my Windows Server 8 test forest/domain
Install-ADDSForest -CreateDNSDelegation:$False -DataBasePath:C:\NTDS\ADDSDB -ForestMode Win8 -DomainName W8Test.local -DomainMode Win8 -DomainNetBiosName W8Test -InstallDNS:$True -LogPath C:\NTDS\Log -SysvolPath C:\NTDS\Sysvol -RebootOnCompletion:$True
On completion the server will reboot, in which we have deployed our first Windows Server 8 domain Controller in our new Windows Server 8 Forest and domain.