> New-NetIPAddress -InterfaceAlias Ethernet1 -IPAddress 192.168.0.2 -PrefixLength 24 -DefaultGateway 192.168.0.2
> Remove-NetIPAddress -InterfaceIndex 14 –IPAddress 192.168.0.2 -DefaultGateway 192.168.0.2
> Get-NetIPAddress
> Set-DnsClientServerAddress -InterfaceAlias Ethernet1 -ServerAddresses ("192.168.0.1")
> Rename-Computer -NewName DC2 -DomainCredential Contoso\Administrator -Restart
> Rename-Computer -ComputerName DHCP1 -NewName DC2 -LocalCredential DHCP1\Administrator -DomainCredential Contoso\Administrator -Force -PassThru -Restart