Get-ServiceFabricConfigurationOverrides
Retrieves all overrides applied to the specified cluster node.
Syntax
Default (Default)
Get-ServiceFabricConfigurationOverrides
-NodeName <String>
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
Retrieves all 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: Get configuration overrides for a specified node
Get-ServiceFabricConfigurationOverrides -NodeName DB.0
Example 3: Get configuration overrides from each cluster node
Get-ServiceFabricNode | ForEach-Object {Get-ServiceFabricConfigurationOverrides -NodeName $_.NodeName}
Parameters
-NodeName
Name of the cluster node to query for configuration overrides.
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.