Powershell - group policy firewall rules

get-netfirewallrule does not list any of the group policies that have been applied. It only lists manually created rules. That's useless on a core system, where you can't call up the advanced firewall GUI.

Question: How to document the firewall rules (complete list) on a core system?
LVL 3
albatros99Asked:
Who is Participating?
 
Rob StoneConnect With a Mentor Commented:
netsh advfirewall firewall show rule name=all
0
 
albatros99Author Commented:
To clarify: The powershell command get-netfirewallrule does not list firewall rules that have been applied by GPO. What's the best way to get a complete list of applied firewall rules? (Without using the GUI)
0
 
Scratch MangCommented:
No, this command doe NOT list firewall rules that have been applied from a  GPO.

Any other thoughts?
0
 
Scratch MangCommented:
netsh advfirewall monitor show firewall rule name=all

That works, Note the "Monitor"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.