Hi,
I am running a query to get the status of service againsts multiple machines.
The command i am using is -
Get-Service -name bits -ComputerName s1,s2,s3 | format-table MachineName,Name,Status -AutoSize
MachineName Name Status
———– —- ——
S1 BITS Stopped
S3 BITS Stopped
The output i am getting is only showing the result of the servers that are available.So powershell is omitting the servers on which the command didnt execute fine.
Is there a way to also list the servers on which the command failed so that i can know on which servers the command didnt work.
Thanks
Digvijay