- Get-NetIPAddress
- get the InterfaceIndex number for the nic you want to change the IP address on.
- Remove-NetIPAddress -InterfaceIndex X
- New-NetIPAddress -InterfaceIndex X -IPAddress x.x.x.x -PrefixLength 23 -DefaultGateway x.x.x.x
- Set-DnsClientServerAddress -InterfaceIndex X -ServerAddresses x.x.x.x, x.x.x.x
No comments:
Post a Comment
Thank you for your comment.