I am trying to find out the difference in using select and select-object command in powershell commands, as I have seen it used in different commands but seem to get the same result, and want to find out when should each command be used.
Such as the below command:
Get-vm | select name
Get-vm | select-object name
Whats the difference in using each of select command. Any advise on this