Get Firewall Profiles

Description

Gets information about the Windows firewall profiles configured on the system.

Overview

This script displays the currently configured options for the Windows Firewall profiles on the current system. This cmdlet displays information that is presented on the Windows Firewall with Advanced Security Properties page, with the tabs for Domain, Private, and Public profiles.

Example Output


Name    Enabled DefaultInboundAction DefaultOutboundAction LogFileName                                           LogAllowed LogBlocked LogIgnored
----    ------- -------------------- --------------------- -----------                                           ---------- ---------- ----------
Domain  True    Block                Allow                 %systemroot%\system32\LogFiles\Firewall\pfirewall.log False      False      NotConfigured
Private True    Block                Allow                 %systemroot%\system32\LogFiles\Firewall\pfirewall.log False      False      NotConfigured
Public  True    Block                Allow                 %systemroot%\system32\LogFiles\Firewall\pfirewall.log False      False      NotConfigured

Scroll to Top