Sunday, November 2, 2014

PowerShell commands to disable IPv6

The following PowerShell commands can be used to disable the default tunneling IPv6 protocols.

Set-NetTeredoConfiguration -Type Disabled
Set-NetIsatapConfiguration -State Disabled
Set-Net6to4Configuration -State Disabled

PowerShell_disable_tunnel_adapters

The following command will disable IPv6 for a particular NIC.

Set-NetAdapterBinding -name <NIC name> -DisplayName "Internet Protocol Version 6 (TCP/IPv6)" -Enabled:$false

PowerShell_disable_ipv6

No comments:

Post a Comment