When I run Get-NetFirewallProfile I see that the Domain profile Enabled is set to True. However, when I go to Control Panel > Windows Firewall the Domain profile is turned off by the GPO. Also, in Windows Firewall with Advanced Settings, the Firewall state is "Off".
I'm not sure why the powershell output is different than the GUI. Please help!
Thanks, aB
Get-NetFirewallProfile | select Name, Enabled
?Enabled
is true, control panel says GPO-disabled.Open-NetGPO
cmdlet that you can use to retrieve GPOs, including the resultant policy set, but I can't make it work in my environment. Maybe there's more requirements than just having a WS2012 to run the cmdlet. If you will be able to retrieve the RSOP object, feed it toGet-NetFirewallProfile -GPOsession $rsop
and check results.Get-NetfirewallProfile -PolicyStore ActiveStore
will show you the current, active, merged info, as shown in the GUI.