< Back

Get-NsxFirewallSavedConfiguration

Sat Jan 18, 2020 9:06 pm

NAME Get-NsxFirewallSavedConfiguration



SYNOPSIS

Retrieves saved Distributed Firewall configuration.





SYNTAX

Get-NsxFirewallSavedConfiguration [[-Name] <String>] [-Connection <PSObject>] [<CommonParameters>]



Get-NsxFirewallSavedConfiguration [-ObjectId <String>] [-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

Retireves saved Distributed Firewall configuration.



A copy of every published configuration is also saved as a draft. A

maximum of 100 configurations can be saved at a time. 90 out of

these 100 can be auto saved configurations from a publish operation.

When the limit is reached,the oldest configuration that is not marked for

preserve is purged to make way for a new one.





PARAMETERS

-ObjectId <String>

ID of a saved Distributed Firewall Configuration



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

Name of a saved Distributed Firewall Configuration



Required? false

Position? 2

Default value

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



Retrieves all saved Distributed Firewall configurations









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



PS C:\\>Get-NsxFirewallSavedConfiguration TestBackup



Retrieves all Distributed Firewall configurations with the name specified









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-NsxFirewallSavedConfiguration -Name TestBackup



Retrieves all Distributed Firewall configurations with the name specified









-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-NsxFirewallSavedConfiguration -ObjectId 403



Retrieves a Distributed Firewall configuration by ObjectId











RELATED LINKS