17 lines
523 B
PowerShell
17 lines
523 B
PowerShell
# REMOVE useless/not needed network features like IPv6 ...
|
|
|
|
$myBindingList = @("ms_tcpip6", "ms_pacer", "ms_lldp", "ms_server", "ms_implat", "ms_lltdio", "ms_rspndr")
|
|
|
|
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
|
|
|
|
$ErrorActionPreference = 'SilentlyContinue'
|
|
|
|
foreach ($myBinding in $myBindingList) {
|
|
Disable-NetAdapterBinding -Name "*" -ComponentID $myBinding
|
|
Get-NetAdapterBinding -ComponentID $myBinding
|
|
}
|
|
echo ""
|
|
|
|
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
|
|
|