Monday, 27 February 2017

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


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...