I would like to see the server name show up in the 4th column whuch we currently do not have
$servers = Get-Content c:\temp\servers.txt
foreach ($server in $servers) {get-service -name spooler}
I would like to see the server nameshow up in the 4th column whuch we currently do not have
Status Name DisplayName
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler
Running spooler Print Spooler