Start-ServiceFabricClusterRollback
Starts rolling back a Service Fabric cluster upgrade.
Syntax
Default (Default)
Start-ServiceFabricClusterRollback
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
The Start-ServiceFabricClusterRollback cmdlet manually start rolling back a pending Service Fabric upgrade. If the command finishes successfully, then the cmdlet has registered the intent to roll back the upgrade with Service Fabric. To check the status of the rollback, use the Get-ServiceFabricClusterUpgrade cmdlet.
To manage Service Fabric clusters, start Windows PowerShell by using the Run as administrator option. Before you perform any operation on a Service Fabric cluster, establish a connection to the cluster by using the Connect-ServiceFabricCluster cmdlet.
Examples
Example 1: Roll back a cluster upgrade
PS C:\> Start-ServiceFabricClusterRollback
This command starts rolling back any existing cluster upgrade.
Parameters
-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.