Quantcast
Viewing all articles
Browse latest Browse all 12198

To set a static IP via Powershell

Enter comment here. $0I set a static IP by using powershell example format as below, and couldn't work. $0 $0$0 $0 $0New-NetIPAddress –InterfaceIndex 12 –IPAddress -192.0.2.2 –PrefixLength 24 –DefaultGateway -192.0.2.1$0 $0$0 $0 $0So I tried to change it to the following format and got a expecting static IP. Might the example has a little mistake?$0 $0$0 $0 $0New-NetIPAddress –InterfaceIndex 12 –IPAddress  192.0.2.2 –PrefixLength 24 –DefaultGateway  192.0.2.1$0 $0$0 $0 $0link : http

Viewing all articles
Browse latest Browse all 12198

Trending Articles