Q. How do I enable or disable Cluster Shared Volumes (CSVs) from PowerShell in Windows Server 2008 R2?

John Savill

October 12, 2009

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. You should usually use the Failover Cluster Management Microsoft Management Console snap-in to enable or disable CSVs, but you can also do it with PowerShell. To enable, run the following commands:

$cluster = Get-Cluster $cluster.EnableSharedVolume="Enabled"

To disable CSVs, first make sure no disks are enabled for CSV, then run the following commands:

$cluster = Get-Cluster $cluster.EnableSharedVolume="Disabled"

If you get an error when you're enabling CSVs and are prompted for a complete syntax, use the following command instead:

$cluster.EnableSharedVolume="Enabled/NoticeRead"

Related Reading:



Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like