原本在Windows 2008的commands可以使用cluster的指令,但在Windows2012卻無法,
發現原來移動到PowersShell
原本在Windows 2008的commands可以使用cluster的指令,但在Windows2012卻無法,
發現原來移動到PowersShell
參考下方微軟的文章(包含指令):
https://technet.microsoft.com/zh-tw/library/ee619744%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396
Cluster commands and equivalent Windows PowerShell cmdlets
In the following table, each cluster command is mapped to the Windows PowerShell equivalent.
Command | PowerShell command equivalent |
---|---|
cluster /prop |
For more information, see: Get-Cluster (http://go.microsoft.com/fwlink/?LinkId=143782) |
cluster /create |
For more information, see: New-Cluster (http://go.microsoft.com/fwlink/?LinkId=143803) |
cluster /destroy |
For more information, see: Remove-Cluster (http://go.microsoft.com/fwlink/?LinkId=143804) |
cluster /add |
For more information, see: Add-ClusterNode (http://go.microsoft.com/fwlink/?LinkId=143771) |
cluster /shutdown |
For more information, see: Stop-Cluster (http://go.microsoft.com/fwlink/?LinkId=143824) |
cluster /rename |
For more information, see: Get-Cluster (http://go.microsoft.com/fwlink/?LinkId=143782) |
cluster /quorum |
For more information, see:
|