PowerShell Logo Small

Set-NetIPsecPhase1AuthSet



This is the built-in help made by Microsoft for the command 'Set-NetIPsecPhase1AuthSet', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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

Modifies existing phase 1 authentication sets.

SYNTAX


Set-NetIPsecPhase1AuthSet [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-Description <String>] [-GPOSession <String>]
[-NewDisplayName <String>] [-PassThru [<SwitchParameter>]] [-PolicyStore <String>] [-Proposal <CimInstance[]>] [-ThrottleLimit <Int32>] -Group
<String[]> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-NetIPsecPhase1AuthSet [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-Description <String>] [-NewDisplayName <String>]
[-PassThru [<SwitchParameter>]] [-Proposal <CimInstance[]>] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm
[<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-NetIPsecPhase1AuthSet [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-Description <String>] [-GPOSession <String>]
[-NewDisplayName <String>] [-PassThru [<SwitchParameter>]] [-PolicyStore <String>] [-Proposal <CimInstance[]>] [-ThrottleLimit <Int32>]
-DisplayGroup <String[]> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-NetIPsecPhase1AuthSet [-Name] <String[]> [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-Description <String>] [-GPOSession
<String>] [-NewDisplayName <String>] [-PassThru [<SwitchParameter>]] [-PolicyStore <String>] [-Proposal <CimInstance[]>] [-ThrottleLimit
<Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-NetIPsecPhase1AuthSet [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-Description <String>] [-GPOSession <String>]
[-NewDisplayName <String>] [-PassThru [<SwitchParameter>]] [-PolicyStore <String>] [-Proposal <CimInstance[]>] [-ThrottleLimit <Int32>]
-DisplayName <String[]> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-NetIPsecPhase2AuthSet cmdlet modifies cryptographic set properties of existing main mode cryptographic sets.


This cmdlet returns one or more phase 1 authentication sets to be modified with the Name (default), DisplayName or or by association using the
DisplayGroup, or Group cmdlet. The sets cannot be queried by property in this cmdlet. The Get-NetIPsecPhase1AuthSet cmdlet returns queried
rules and pipes the rules into this cmdlet. The remaining parameters specify the properties of this cmdlet to be modified. When a group is
specified, all of the sets associated with the group receive the same modifications. The rule parameters modified using the dot-notation are
committed with this cmdlet.


To move a set to a new GPO, copy the existing set by running the Copy-NetIPsecPhase1AuthSet cmdlet with the NewPolicyStore parameter, then
remove the old set by running the Remove-NetIPsecPhase1AuthSet cmdlet.



<

RELATED LINKS

Copy-NetIPsecPhase1AuthSet
Get-NetIPsecPhase1AuthSet
New-NetIPsecPhase1AuthSet
Open-NetGPO
Save-NetGPO
Remove-NetIPsecPhase1AuthSet
New-GPO

REMARKS

<

Examples


EXAMPLE 1

PS C:\> $NewCertProposal = New-NetIPsecAuthProposal -Machine –Cert -Authority "C=US,O=MSFT,CN=Microsoft Root Authority" -AuthorityType Root


PS C:\> Set-NetIPsecPhase1AuthSet -DisplayName "Authenticate with Certificates" –Proposal $NewCertProposal



This example replaces the proposals for an existing authentication set.




EXAMPLE 2

PS C:\> Set-NetIPsecPhase1AuthSet -DisplayGroup "Authenticate with Certificates" –NewDisplayName "Authenticate with Computer Certificates"



This example modifies the display name of a phase 1 authentication set.