Visual Studio ssl bindings

I’ve discovered that visual studio is adding multiple ssl bindings when running various tests. The following PowerShell fragment will delete un-used bindings.

netsh http show sslcert | ? {$_ -Like "*IP:port*"} | % {$_ -Replace "^.*(0.0.0.0:\d+)$",'$1'} | ? {-not ($_ -Eq "0.0.0.0:8443")} | ? {-not ($_ -Eq "0.0.0.0:30002")} | % {"netsh http delete sslcert ipport=$_"} | Invoke-Expression