PowerShell script to build/rebuild a 6in4 (IPv6-in-IPv4) tunnel on Windows 10 with Hurricane Electric Free IPv6 Tunnel Broker
-
Requires at minimum Windows PowerShell 4.0 but it was tested with Windows PowerShell 5.1 and PowerShell Core 6.2.3 on Windows 10 1909.
-
This script needs administrative rights. It will check if PowerShell/PowerShell ISE is running with elevated privileges as administrator. If not it is trying to self-elevate.
-
Initial version using netsh
-
Replace netsh with PowerShell cmdlets (netsh is deprecated)