Remove-​Service​Fabric​Cluster

Removes a Service Fabric cluster.

Syntax

Remove-ServiceFabricCluster
      [-ClusterConfigurationFilePath] <String>
      [-DeleteLog]
      [-Force]
      [-TimeoutSec <Int32>]
      [<CommonParameters>]

Description

The Remove-ServiceFabricCluster cmdlet removes a Service Fabric cluster based on a cluster configuration file in JavaScript Object Notation (JSON) format. The configuration includes target computers from which the cmdlet removes Fabric nodes.

Examples

Example 1: Remove a cluster

PS C:\> Remove-ServiceFabricCluster -ClusterConfigurationFilePath "D:\standalone\ClusterConfig.Unsecure.DevCluster.json"

Removes the Service Fabric cluster nodes based on computers specified in the cluster configuration file.

Required Parameters

-ClusterConfigurationFilePath

Specifies the path of the cluster configuration JSON file. The configuration describes target computers from which Fabric nodes are removed.

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DeleteLog

Indicates that the cmdlet removes log files as part of cluster removal.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Force

{{Fill Force Description}}

Type:SwitchParameter
Position:Named
Default value:None
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
Accept pipeline input:False
Accept wildcard characters:False