Windows 2008 R2 OS
We have about 100 Windows 2008 R2 computers and just find out that
one service name abc (ex) is missing on several computers. I need to
find out whether this service is missing on other computers too.
I use the powershell get-service but it did not tell which server
does not have service ABC?
here is my script: what am I missing?
$servers = gc "C:\servers.txt"
get-service -computer $servers -name "ABC"|Select Name, MachineName, Status
We have about 100 Windows 2008 R2 computers and just find out that
one service name abc (ex) is missing on several computers. I need to
find out whether this service is missing on other computers too.
I use the powershell get-service but it did not tell which server
does not have service ABC?
here is my script: what am I missing?
$servers = gc "C:\servers.txt"
get-service -computer $servers -name "ABC"|Select Name, MachineName, Status