jermdw
4/14/2018 - 3:56 AM

Create Domain Controller

Create Domain Controller

# Create Windows Server 2016 Domain Controller
# with a little help from: https://j3rm.io/2EKvjXY

# rename computer
Rename-computer -newname 2016-DC01

# setup ip configuration
$ipaddress = "10.0.0.2"
$dnsaddress = "127.0.0.1"
New-NetIPAddress -InterfaceAlias Ethernet -IPAddress $ipaddress -AddressFamily IPv4 -PrefixLength 24

# update DNS server
Set-DnsClientServerAddress -InterfaceAlias Ethernet -ServerAddresses $dnsaddress



# install features
Install-WindowsFeature AD-Domain-Services -IncludeManagementTools

# incomplete