Friday, 10 May 2013

Managing Cluster from Command Line move to Powershell cmdlets in Windows 2012


Recently I was having issues with installation of one of our SQL server 2012 on a Windows 2012 cluster, in order to trouble shoot the issue I tried to query the cluster from

Command line using “cluster res”  which error out as below,

C:\Users\ManoharV>cluster res
'cluster' is not recognized as an internal or external command,
operable program or batch file.

On further analysis in MSDN I found out that Managing Cluster from Command Line has been moved to PowerShell from Windows 2012 and can be done only through Powershell cmdlets,

So I used “get-clusterresouce” cmdlet to get the result, similarly all the actions done using cluster.exe can be done using PS cmdlet refer http://technet.microsoft.com/en-us/library/ee461009.aspx for all cmdlets related to cluster.


No comments:

Post a Comment