Get-ServiceFabricConfigurationOverrides
Retrieves all overrides applied to the specified cluster node.
Syntax
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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TimeoutSec
Specifies the time-out period, in seconds, for the operation.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Object