< Back

New-NsxFirewallSavedConfiguration

Sat Jan 18, 2020 9:16 pm

NAME New-NsxFirewallSavedConfiguration



SYNOPSIS

Creates a manually saved Distributed Firewall configuration.





SYNTAX

New-NsxFirewallSavedConfiguration [-Name] <String> [-Description <String>] [-Preserve] [-Connection <PSObject>]

[<CommonParameters>]





DESCRIPTION

Creates a manually saved Distributed Firewall configuration.



A copy of every published configuration is automatically 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

-Name <String>

Name to call the saved configuration



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Description <String>

A meaningful description for the saved configuration



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Preserve [<SwitchParameter>]

Specifies whether to preserve the saved configuration to prevent it being deleted automatically. Default =

$True



Required? false

Position? named

Default value True

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-NsxFirewallSavedConfiguration -Name Change123 -Description "Backup taken prior to change 123"



Creates a saved Distributed Firewall Configuration









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



PS C:\\>New-NsxFirewallSavedConfiguration -Name Change123 -Description "Backup taken prior to change 123"

-Preserve:$false



Creates a saved Distributed Firewall Configuration and does not set the preserve flag.











RELATED LINKS