All very easy with Windows PowerShell ...
New-Computer -Domain home.lab -Credential HOME\Administrator -Restart
Provide the password when prompted and wait for the machine to restart.
Easy easy easy .....
New-Computer -Domain home.lab -Credential HOME\Administrator -Restart
Get-NetAdapter
Get-NetAdapter Results |
New-NetIPAddress -IPAddress 192.168.33.10 ` -Default Gateway 192.168.33.1 ` -AddressFamily IPv4 ` -PrefixLength 24 ` -InterfaceIndex 19
New-NetIPAddress Results |
Set-DnsClientServerAddress ` -ServerAddress 192.168.33.2 ` -InterfaceIndex 19
Rename-Computer -NewName LABSVR2 -Restart
netsh advfirewall firewall add rule name="SQL Server 1433" dir=in action=allow protocol=TCP localport=1433