PowerShell Logo Small

Get-NetIPsecPhase1AuthSet



This is the built-in help made by Microsoft for the command 'Get-NetIPsecPhase1AuthSet', 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

Gets a phase 1 authentication set from the target computer.

SYNTAX


Get-NetIPsecPhase1AuthSet [-All] [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [-TracePolicyStore]
[<CommonParameters>]
Get-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [-TracePolicyStore] -DisplayName
<String[]> [<CommonParameters>]
Get-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [-TracePolicyStore]
-AssociatedNetIPsecMainModeRule <CimInstance> [<CommonParameters>]
Get-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-Description <String[]>] [-DisplayGroup <String[]>] [-GPOSession <String>] [-Group <String[]>] [-PolicyStore
<String>] [-PolicyStoreSource <String[]>] [-PolicyStoreSourceType <PolicyStoreType[]>] [-PrimaryStatus <PrimaryStatus[]>] [-Status <String[]>] [-ThrottleLimit <Int32>]
[-TracePolicyStore] [<CommonParameters>]
Get-NetIPsecPhase1AuthSet [-Name] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PolicyStore <String>] [-ThrottleLimit <Int32>]
[-TracePolicyStore] [<CommonParameters>]
Get-NetIPsecPhase1AuthSet [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [-TracePolicyStore]
-AssociatedNetIPsecRule <CimInstance> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-NetIPsecPhase1AuthSet cmdlet returns the instances of phase 1 authentication sets that match the search parameters from the user. See the New-NetIPsecPhase1AuthSet
cmdlet for more information.


This cmdlet returns phase 1 authentication sets by specifying the Name parameter (default), the DisplayName parameter, rule properties, or by associated filters or objects.
The queried rules can be placed into variables and piped to other cmdlets for further modifications or monitoring.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=308941
Get-NetIPsecMainModeRule
Get-NetIPSecRule
New-NetIPsecMainModeRule
New-NetIPsecPhase1AuthSet
Open-NetGPO
Save-NetGPO
Set-NetIPsecPhase1AuthSet
New-GPO

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Get-NetIPsecPhase1AuthSet -DisplayName "Tunnel Mode - Americas (DA Client) - Phase 1 Auth Set"



This example gets a phase 1 authentication set and displays the parameters based upon the localized rule name.




EXAMPLE 2

PS C:\>Get-NetIPSecRule -DisplayName "Authenticate with Certificates Rule" | Get-NetIPsecPhase1AuthSet



This example returns the phase 1 authentication set associated to an IPsec rule to examine the properties.