Hi old scripts does not work after upgrading to latest version.
$vmname = <vm>
$cluster = Get-cluster -vm $vmname
has worked so far - but in latest version it retruns error:
get-cluster : 28-04-2020 10:33:04 Get-Cluster Value cannot be null.
Parameter name: collection
Changing to
$cluster = Get-vm $vmname | get-cluster
works.
Same thing observed for Remove-vm command.