Recently I was looking for a way to set DefaultInboundAction and DefaultOutboundAction for Windows firewall
First I tried 'netsh.exe advfirewall set allprofiles firewallpolicy blockinbound,blockoutbound'
However, it turns out group policy overrides these settings.
I then went looking...