Setting up a Connection to HyperV

Next time I need to setup a connection to Hyper-V:

http://thetechnologychronicle.blogspot.com/2013/11/hyper-v-server-2012-remote-management.html

To list all connections on the computer:
Get-NetConnectionProfile

To turn public network interfaces into private network interfaces:
Set-NetConnectionProfile -InterfaceIndex {the index} -NetworkCategory Private

Enable-NetFirewallRule -DisplayGroup *