A quick PowerCLI command to list all VMs in a cluster:
Get-Cluster "Cluster Name" | Get-VM
To sort by name run:
Get-Cluster "Cluster Name" | Get-VM | Sort Name
To export to a csv file run:
Get-Cluster "Cluster Name" | Get-VM | Export-CSV C:\ListVMsInCluster.csv
The commands above are very simple and because I am so forgetful I need them somewhere I can quickly find them.