PowerShell Logo Small

Show-NetIPsecRule



This is the built-in help made by Microsoft for the command 'Show-NetIPsecRule', 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-NetIPsecRule [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Show-NetIPsecRule cmdlet displays each of the IPsec rules in the required 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 the rules output by this cmdlet using the PolicyStore parameter
value set to ActiveStore are read-only when run on a client computer.



<

RELATED LINKS

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

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Show-NetIPsecRule –PolicyStore ActiveStore



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