< Back

Get-NsxSecurityPolicyHighestUsedPrecedence

Sat Jan 18, 2020 9:11 pm

NAME Get-NsxSecurityPolicyHighestUsedPrecedence



SYNOPSIS

Retrieves the highest precedence number defined on any security policy.





SYNTAX

Get-NsxSecurityPolicyHighestUsedPrecedence [[-Connection] <PSObject>] [<CommonParameters>]





DESCRIPTION

An NSX Security Policy is a set of Endpoint, firewall, and network

introspection services that can be applied to a security group.



This cmdlet returns the highest precedence number defined on any

Security Policy. This is primarily useful when creating a new policy.





PARAMETERS

-Connection <PSObject>

PowerNSX Connection object



Required? false

Position? 1

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-NsxSecurityPolicyHighestUsedPrecedence



Precedence

----------

3300



Retrieves the highest precedence number used. Convention is to add

1000 to this when creating a new policy to leave 'gaps' in to which

future policy could be inserted.











RELATED LINKS