共用方式為


Remove-ServiceFabricCluster

拿掉獨立 Service Fabric 叢集。

語法

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

Description

Remove-ServiceFabricCluster Cmdlet 會根據 JavaScript 物件表示法 (JSON) 格式的叢集組態檔,移除獨立 Service Fabric 叢集。

此組態包含 Cmdlet 從中移除 Fabric 節點的目標計算機。

範例

範例 1:移除叢集

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

根據叢集組態檔中指定的計算機移除 Service Fabric 叢集節點。

參數

-ClusterConfigurationFilePath

指定叢集組態 JSON 檔案的路徑。 組態描述移除 Fabric 節點的目標計算機。

類型:String
Position:0
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-DeleteLog

指出 Cmdlet 會將記錄檔移除為叢集移除的一部分。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Force

強制命令執行,而不要求使用者確認。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-TimeoutSec

指定作業的逾時期間,以秒為單位。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

None

輸出

System.Object