How to configure network connection using Powershell
Add a new IP Address
New-NetIPAddress –InterfaceAlias “Wired Ethernet Connection” –IPAddress “192.168.0.1” –PrefixLength 24 -DefaultGateway 192.168.0.254
PS C:\> New-NetIPAddress –InterfaceIndex 12 –IPAddress 192.168.0.1
PS C:\> Remove-NetIPAddress –IPAddress 192.168.0.1
PS C:\> Get-NetIPAddress –IPAddress 192.168.0.1 | Remove-NetIPAddress
PS C:\> Remove-NetIPAddress –PrefixOrigin Manual
Monday, 27 February 2017
Subscribe to:
Posts (Atom)
Fixing Java KVM client error with 'Connection Failed'
Java 8u171 disables the use of the 3DES_EDE_CBC cipher. Solution is to reconfigure Java by editing and removing 3DES_EDE_CBC from the follow...
-
Requires installation of 'Microsoft live essentials' from http://explore.live.com/windows-live-essentials and use the Skydrive URL ...
-
The term "cloud" refers to a new paradigm in the evolution of computing. It often entails running your servers, either internal or...
-
The Infrastructure Planning and Design (IPD) guides are the next version of Windows Server System Reference Architecture. The guides in thi...