Powershell - group policy firewall rules

albatros99
albatros99 used Ask the Experts™
on
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?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

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)
netsh advfirewall firewall show rule name=all
No, this command doe NOT list firewall rules that have been applied from a  GPO.

Any other thoughts?
netsh advfirewall monitor show firewall rule name=all

That works, Note the "Monitor"

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial