Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1021
  • Last Modified:

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?
0
albatros99
Asked:
albatros99
  • 2
1 Solution
 
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
 
Rob StoneCommented:
netsh advfirewall firewall show rule name=all
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

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now