Share via


Remove-ServiceFabricConfigurationOverrides

Removes all configuration overrides applied to the specified cluster node.

Syntax

Default (Default)

Remove-ServiceFabricConfigurationOverrides
    -NodeName <String>
    [-TimeoutSec <Int32>]
    [<CommonParameters>]

Description

Removes all configuration overrides applied to the specified cluster node, as applied by the Add-ServiceFabricConfigurationParameterOverrides command.

Examples

Example 1: Enable the command in the cluster manifest

The Add/Get/Remove Service Fabric configuration override commands are disabled by default. Enable them by adding the following dynamic configuration parameter to the cluster manifest:

<Section Name="Testability">
    <Parameter Name="AllowConfigurationOverrides" Value="true" />
</Section>

Example 2: Remove overrides on a cluster node

Remove-ServiceFabricConfigurationOverrides -NodeName DB.0

Parameters

-NodeName

Name of the cluster node for configuration override removal.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TimeoutSec

Specifies the time-out period, in seconds, for the operation.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object