PowerShell Logo Small

Get-NetIPsecDospSetting



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

Retrieves IPsec DoS protection settings from the target computer.

SYNTAX


Get-NetIPsecDospSetting [-All] [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-NetIPsecDospSetting [-Name] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-NetIPsecDospSetting cmdlet returns the instances of existing IPsec DoS protection settings.


If the Name parameter is not specified, then all of the Dosp settings configured on the computer are returned. Querying by object requires the use of the Where-Object cmdlet.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=285741
Where-Object
New-NetIPsecDospSetting
Remove-NetIPsecDospSetting
Set-NetIPsecDospSetting

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Get-NetIPsecDospSetting



This example gets all of the Dosp setting configured on the computer.




EXAMPLE 2

PS C:\>Get-NetIPsecDospSetting -Name CorpNet-PubNet



This example gets the Dosp setting with the specified name.




EXAMPLE 3

PS C:\>$netIPSDospSetting = Get-NetIPsecDospSetting



PS C:\>Where-Object –FilterScript { $_.PublicInterfaceAliases –Eq "PubNet" } –InputObject $netIPSDospSetting


This cmdlet can be run using only the pipeline.
PS C:\>Get-NetIPsecDospSetting | Where-Object –FilterScript { $_.PublicInterfaceAliases –Eq "PubNet" }



This example gets all of the Dosp settings configured to the specified internal interface.




EXAMPLE 4

PS C:\>$nIPSDospSetting = Get-NetIPsecDospSetting



PS C:\>$nIPSDospSettingPubNet = Where-Object –FilterScript { $_.PublicInterfaceAliases –Eq "PubNet" } –InputObject $nIPSDospSetting



PS C:\>Set-NetIPsecDospSetting –PublicInterfaceAliases PubNet2 –InputObject $nIPSDospSettingPubNet


This cmdlet can be run using only the pipeline.
PS C:\>Get-NetIPsecDospSetting | Where-Object –FilterScript { $_.PublicInterfaceAliases –Eq "PubNet" } | Set-NetIPsecDospSetting –PublicInterfaceAliases PubNet2



This example modifies the internal interface of the previously acquired IPsec Dosp settings.