I'm trying to find the CSV information by using the below WQL query. I pass in disk partition information to fetch the CSV information.
$csv = Get-WmiObject -Namespace "root/MSCluster" -Query "SELECT GroupComponent FROM MSCluster_ClusterSharedVolumeToPartition where PartComponent='MSCluster_DiskPartition.Name=`"C:\ClusterStorage\Volume1`"'"
Write-Host $csv.Name Write-Host $csv.VolumeName
But doesn't seem to be working :(