PowerShell Logo Small

Set-NetIPsecQuickModeCryptoSet



This is the built-in help made by Microsoft for the command 'Set-NetIPsecQuickModeCryptoSet', 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 quick mode cryptographic sets.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


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


This cmdlet gets one or more quick mode cryptographic sets to be modified with the Name parameter (default), DisplayName parameter, or by
association using the DisplayGroup or Group parameter. The sets cannot be queried by property in this cmdlet. The querying can be done by the
Get-NetIPsecQuickModeCryptoSet cmdlet returns the queries and pipes the sets into this cmdlet. The remaining parameters specify the properties
of the set 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-NetIPsecQuickModeCryptoSet cmdlet with the NewPolicyStore parameter,
then remove the old set by running the Remove-NetIPsecQuickModeCryptoSet cmdlet.



<

RELATED LINKS

Copy-NetIPsecQuickModeCryptoSet
Get-NetIPsecQuickModeCryptoSet
New-NetIPsecQuickModeCryptoSet
Remove-NetIPsecQuickModeCryptoSet
New-GPO

REMARKS

<

Examples


EXAMPLE 1

PS C:\> $crypto1 = New-NetIPsecQuickModeCryptoProposal -Encryption AES128 -ESPHash AESGMAC128


PS C:\> $crypto2 = New-NetIPsecQuickModeCryptoProposal -Encryption DES -ESPHash MD5


PS C:\> Set-NetIPsecQuickModeCryptoSet -DisplayName "Exchange HIPPA Server, 80 <-> Any - Phase 2 Crypto Set" –Proposals $crypto1,$crypto2



This example replaces the proposals of an existing quick mode cryptographic set.




EXAMPLE 2

PS C:\> Set-NetIPsecMainModeCryptoSet -DisplayGroup "Exchange HIPPA Server" –PerfectForwardSecrecyGroup DH14



This example modifies the perfect forward secrecy group for a group of quick mode cryptographic sets.