Quite surprised that this is even built into Windows' netsh: https://gist.github.com/2943143