Greetings All,
Quick little blurb about using PowerShell to open firewall ports. I used this when setting up a Windows Server 2012 R2 :Server Core box to host hyper V. I needed to open port 80 inbound to allow for replication between Hyper V hosts


New-NetFirewallRule -DisplayName Port80 -Direction Inbound -enabled True -localport 80 -Protocol TCP -Action Allow

And this was the output: