Skip to content

Enable-Ipv6

Enables IPv6

try {
	Enable-NetAdapterBinding -Name '*' -ComponentID 'ms_tcpip6'
	"? IPv6 is enabled now."
	exit 0 # success
} catch {
	"?? ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))"
	exit 1
}

This script has no configurable parameters.

An interactive directory of PowerShell scripts.