Windows Server 2012/2016/2019 basic configuration post installation [Powershell Script]

Rename-Computer DC01

netsh interface ipv4 set address name=”LAN” static 192.168.1.10 255.255.255.0

netsh interface ipv4 set dns name=”LAN” static 192.168.1.10

netsh advfirewall set allprofiles state off

netsh interface teredo set state disabled

netsh interface ipv6 6to4 set state state=disabled undoonstop=disabled

netsh interface ipv6 isatap set state state=disabled

shutdown /r -t 0

%d bloggers like this: