Windows – Viewing Windows Firewall settings from the command line and a GUI

command linewindowswindows firewall

Is it possible to view Windows firewall settings from the command line?

In addition how can I check the advanced Windows Firewall settings in a GUI?

Best Answer

To view the Windows Firewall settings from the command line, type:

netsh advfirewall firewall

This will open a menu with different settings, including advanced settings (like setting rules).

Windows Firewall settings in command-line

More information about Netsh AdvFirewall Firewall Commands (Windows Server online library).