How to Enable / Disable IPv6 in Windows with Powershell ?
Open Windows PowerShell as Administrator.
To disable all ipV6 traffic:
1 | Disable-NetAdapterBinding -Name "*" -ComponentID ms_tcpip6 |
Effects immediately and there is no need to restrart.
To enable all ipV6 traffic:
1 | Enable-NetAdapterBinding -Name "*" -ComponentID ms_tcpip6 |
Simply test it with ipconfig /all or ping -6 google.com
