I'm trying to use the below PS command to query the service state on mulitple servers. However the command is only returning the first server in the list. And this command was copied straight from the PS help. Any ideas why this might be happening?
get-service -name winrm -computername Server01, Server02 | format-table -property MachineName, St
atus, Name, DisplayName -auto