Create a new ad forest, Microsoft Article
From MyWiki
Reference - https://blogs.technet.microsoft.com/heyscriptingguy/2013/01/03/use-powershell-to-deploy-a-new-active-directory-forest/
Configure the dns server using Powershell:
Set-DNSClientServerAddress -interfaceIndex 12 -ServerAddresses ("192.168.0.1","8.8.8.8")
Set-DnsClientServerAddress -InterfaceAlias “Wired Ethernet Connection” -ServerAddresses 192.168.0.1, 192.168.0.2 ??
Change ip address:
New-NetIPAddress –InterfaceAlias “Wired Ethernet Connection” –IPv4Address “192.168.0.33” –PrefixLength 24 -DefaultGateway 192.168.0.1 - no good
Get adapter details:
Get-Netadapter