Netsh int ipv4 set add "local area connection" source=static 192.168.30.100 255.255.255.0 192.168.30.10
Netsh int ipv4 add dns name="local area connection" address=192.168.30.102
netdom renamecomputer %computername% /newname:Core /usero:administrator /passwordo:Mcse2013 /reboot:0
netsh adv set all state off
Netsh int ipv4 add dns name="local area connection" address=192.168.30.102
netdom renamecomputer %computername% /newname:Core /usero:administrator /passwordo:Mcse2013 /reboot:0
netsh adv set all state off