$var = Get-NetAdapter -InterfaceDescription "*Ethernet*" -Physical
$var = Get-NetAdapter -InterfaceDescription "*PCI*" -Physical
$var = Get-NetAdapter -InterfaceDescription "*Ethernet*" -Physical | select -ExpandProperty Name; Remove-NetIPAddress -InterfaceAlias $var -Confirm:$false; New-NetIPAddress -InterfaceAlias $var -AddressFamily IPv4 -IPAddress 192.168.2.100 -PrefixLength 24