共用方式為


Remove-ServiceFabricNode

從叢集移除 Service Fabric 節點。

語法

Remove-ServiceFabricNode
      [-Force]
      [-TimeoutSec <Int32>]
      [<CommonParameters>]

Description

Remove-ServiceFabricNode Cmdlet 會從叢集移除 Service Fabric 節點。 您必須從您要移除的電腦執行此 Cmdlet。 在執行這項作業之前,請使用 Connect-ServiceFabricCluster Cmdlet 來建立叢集的連線。

範例

範例 1:移除節點

PS C:\> Remove-ServiceFabricNode

此命令會從叢集移除目前的電腦。

參數

-Force

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

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

-TimeoutSec

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

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

輸入

None

輸出

System.Object