PowerShell Logo Small

Show-NetFirewallRule



This is the built-in help made by Microsoft for the command 'Show-NetFirewallRule', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Displays all of the existing IPsec rules and associated objects in a fully expanded view.

SYNTAX


Show-NetFirewallRule [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Show-NetFirewallRule cmdlet displays each of the firewall rules in the policy store, along with the associated objects, in a clear and formatted list.


The ActiveStore is a collection of all of the policy stores that apply to the computer, so the majority of rules output from the following cmdlet are read-only when run on a
client computer.

-- Show-NetFirewallRule –PolicyStore ActiveStore



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=288376
Copy-NetFirewallRule
Disable-NetFirewallRule
Enable-NetFirewallRule
Get-NetFirewallRule
New-NetFirewallRule
Open-NetGPO
Remove-NetFirewallRule
Rename-NetFirewallRule
Save-NetGPO
Set-NetFirewallRule
New-GPO

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Show-NetFirewallRule –PolicyStore ActiveStore



This example displays all of the firewall rules currently in the active policy, which is the collection of all of the policy stores that apply to the computer.