< Back

Remove-NsxFirewallSection

Sat Jan 18, 2020 9:22 pm

NAME Remove-NsxFirewallSection



SYNOPSIS

Removes the specified NSX Distributed Firewall Section.





SYNTAX

Remove-NsxFirewallSection [-Section] <XmlElement> [-Confirm] [-force] [-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

An NSX Distributed Firewall Section is a named portion of the firewall rule

set that contains firewall rules.



This cmdlet removes the specified NSX Distributed Firewall Section. If the

section contains rules, the removal attempt fails. Specify -force to

override this, but be aware that all firewall rules contained within the

section are removed along with it.





PARAMETERS

-Section <XmlElement>



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



-force [<SwitchParameter>]



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:\\>New-NsxFirewallSection -Name TestSection















RELATED LINKS