Набор командлетов модуля NetTCPIP (настройка конфигурации сетевой карты)
Get-Command -Module NetTCPIP:
Name
-----------
Find-NetRoute
Get-NetCompartment
Get-NetIPAddress
Get-NetIPConfiguration
Get-NetIPInterface
Get-NetIPv4Protocol
Get-NetIPv6Protocol
Get-NetNeighbor
Get-NetOffloadGlobalSetting
Get-NetPrefixPolicy
Get-NetRoute
Get-NetTCPConnection
Get-NetTCPSetting
Get-NetTransportFilter
Get-NetUDPEndpoint
Get-NetUDPSetting
New-NetIPAddress
New-NetNeighbor
New-NetRoute
New-NetTransportFilter
Remove-NetIPAddress
Remove-NetNeighbor
Remove-NetRoute
Remove-NetTransportFilter
Set-NetIPAddress
Set-NetIPInterface
Set-NetIPv4Protocol
Set-NetIPv6Protocol
Set-NetNeighbor
Set-NetOffloadGlobalSetting
Set-NetRoute
Set-NetTCPSetting
Set-NetUDPSetting
Test-NetConnection
Посмотреть сетевые интерфейсы
Get-NetAdapter
Configuring IP Manually:
New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress 10.77.8.102 -PrefixLength 24 -DefaultGateway 10.77.8.254
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddress 10.77.8.2, 10.77.8.3
Configuring IP Automatically:
Set-NetIPInterface -InterfaceAlias "Ethernet" -DHCP Enabled
Restart-NetAdapter -Name "Ethernet"
Удалить IP-адрес
Remove-NetIPAddress