You can use Powershell

get-service "Spooler" | Select Name, Status


For multiple computers and service

$Computers = "comp2", "comp1"
$Computers | Foreach {
Get-Service "Spooler", "W32Time" -computername $_
} | Select Name, Status | Export-Csv d:\temp\ser.csv -NoTypeInformation





On Thu, Feb 16, 2012 at 10:12 AM, Erik Goldoff <[email protected]> wrote:

> to be clear, not wanting a list of ALL services running, we want to
> provide a short list of services we want to check, hopefully with simple
> output like :
>
> service1 - running
> service2 - stopped
> service3 - paused
> service4 - running
>
>
>
>
> On Thu, Feb 16, 2012 at 10:09 AM, Erik Goldoff <[email protected]> wrote:
>
>> Looking to run a batch/command on a series of servers, with the goal of a
>> simple text file listing the service name and status
>> (running/paused/stopped) to be emailed to a monitoring mailbox via
>> scheduled task.
>>
>> PSService and SC seem a bit too verbose for this  simple output,
>> wondering if anyone has a favorite utility that might fit this need.
>>
>> Thanks in advance,
>>
>> Erik
>>
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here:
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to [email protected]
> with the body: unsubscribe ntsysadmin
>

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to