Hello,
-
The problem there is that you are making the cluster variable a string value, rather than something that represents a cluster object.
Instead of the previous line (the 2nd line), try it like:
$cluster=Get-Cluster'cluster_01'
Then the third line should succeed. That do it for you?