Solved

Powershell - group policy firewall rules

Posted on 2014-02-27
4
859 Views
Last Modified: 2016-10-13
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
Comment
Question by:albatros99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Author Comment

by:albatros99
ID: 39894854
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
 
LVL 15

Accepted Solution

by:
Rob Stone earned 500 total points
ID: 39910072
netsh advfirewall firewall show rule name=all
0
 

Expert Comment

by:Scratch Mang
ID: 41842059
No, this command doe NOT list firewall rules that have been applied from a  GPO.

Any other thoughts?
0
 

Expert Comment

by:Scratch Mang
ID: 41842192
netsh advfirewall monitor show firewall rule name=all

That works, Note the "Monitor"
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My GPO's made for 2008 R2 servers were not allowing me to RDP into a new 2012 server by default.  That’s why I tried to allow RDP via Powershell, because I could log into a remote shell without further configuration. Below I will describe how I wen…
What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question