Hi,
I trying to get service which running with specific account on remote servers. I am able to achieve it, but in output, I am not able to get the server name.
Hey there Venkata. Server is not a property output by that command. Try running SELECT -first 1 -property * and see what fits best. PSComputerName is usually a good one to use.