I'm trying to get a script together to loop through all our cluster shared volumes and move them to another node using a text file containing the names of our volumes.
I'm new to PS though. Would something like this work?
Get-Content c:\sharedvolumes.txt | Foreach-Object {Move-ClusterSharedVolume -Node node1}