I am trying to control a Windows Server 2012 (R2) firewall by using PowerShell commands (see https://technet.microsoft.com/en-us/library/hh831755.aspx#BKMK_ProfileGlobalDefaults for example and reference).
On my Linux machines, I was able to track connection state with IPTables using conntrack
to be able to allow established and related connections (http://www.iptables.info/en/connection-state.html). I haven't found an equivalent in the Windows Firewall.
Is there a way to do this in Windows Server using PowerShell? I have searched all over the internet and not found anything relevant.