< Back

Remove-NsxIPsec

Sat Jan 18, 2020 9:22 pm

NAME Remove-NsxIPsec



SYNOPSIS

Remove the global IPsec configuration of an existing NSX Edge Services

Gateway.





SYNTAX

Remove-NsxIPsec [-IPsec] <XmlElement> [-NoConfirm] [-Connection <PSObject>] [<CommonParameters>]



Remove-NsxIPsec [-IPsec] <XmlElement> [-Confirm] [-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

An NSX Edge Service Gateway provides all NSX Edge services such as firewall,

NAT, DHCP, VPN IPsec, load balancing, and high availability.



The NSX supports site-to-site IPSec VPN between an NSX Edge instance and

remote sites. Certificate authentication, preshared key mode, IP unicast

traffic, and no dynamic routing protocol are supported between the NSX Edge

instance and remote VPN routers.



The Remove-NsxIPsec cmdlet unconfigures the global IPsec configuration of

the specified Edge Services Gateway.





PARAMETERS

-IPsec <XmlElement>

NSX Edge DNS to remove



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompt for confirmation. Specify as -confirm:$false to disable confirmation prompt



Required? false

Position? named

Default value True

Accept pipeline input? false

Accept wildcard characters? false



-NoConfirm [<SwitchParameter>]

Disable Prompt for confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Connection <PSObject>

PowerNSX Connection object



Required? false

Position? named

Default value $defaultNSXConnection

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-NsxEdge Edge01 | Get-NsxIPsec | Remove-NsxIPsec



Remove all NSX IPsec configuration with confirmation









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-NsxEdge Edge01 | Get-NsxIPsec | Remove-NsxIPsec -NoConfirm:$true



Remove all NSX IPsec configuration without confirmation











RELATED LINKS