Running:
get-vm -server hyperv
get-vm -server hyperv | format-table -AutoSize
Result in a 5 column output with data in all 5 columns as expected.
Running:
get-vm -server hyperv | select VMElementName,State,Host | format-table -AutoSize
get-vm -server hyperv | format-table -Property VMElementName,State,Host -AutoSize
Results in a 3 column output with data in only the VMElementName column. Any attempt to reduce the number of columns results in all but the VMElementName column is empty. Changing order has no effect. Selecting any single column makes no difference. Only the VMElementName column contains data.
How do I get the rest of the data to be shown?