This vbs also seems to do the trick
*'******************* Enum Service Info.vbs*******************
*******
Option Explicit
Const filInputName = "Servers.txt"
Const filOutputName = "Service Info.csv"
Dim objDomain, fso, filInput, filOutput, strComputer, objComputer,
objService
Set fso = WScript.CreateObject("Scri**pting.File**SystemObje**ct")
Set filInput = fso.OpenTextFile(filInputN**ame)
Set filOutput = fso.CreateTextFile(filOutp**utName)
filOutput.WriteLine "**Server**,Service,Service Account"
Do Until filInput.AtEndOfStream
strComputer = filInput.ReadLine
Set objComputer = GetObject("WinNT://" & strComputer)
objComputer.Filter = Array("Service")
For Each objService in objComputer
filOutput.WriteLine strComputer & "," & objService.DisplayName & ","
& objService.ServiceAccountN**ame
Next
filOutput.WriteLine
Loop
MsgBox "All computers specified in the " & filInputName & " file have been
scanned.", vbInformation, "Execution Completed"
Set objDomain = Nothing
Set fso = Nothing
Set filInput = Nothing
Set objComputer = Nothing
Set objService = Nothing*
On 4 March 2010 15:45, James Rankin <[email protected]> wrote:
> isn't there an "export service" including "service account" in Hyena?
>
>
> On 4 March 2010 15:22, Michael Leone <[email protected]> wrote:
>
>> I have a need to get a list of all services defined on my servers, and
>> see what the logon account for each service is. (we need to change a
>> password on an account we use to run services with, and I don't want
>> to miss any)
>>
>> I would have thought something from SysInternals would do that, but
>> I'm not finding it.
>>
>> Thanks
>>
>> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
>> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
>>
>
>
>
> --
> "On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into
> the machine wrong figures, will the right answers come out?' I am not able
> rightly to apprehend the kind of confusion of ideas that could provoke such
> a question."
>
>
--
"On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into
the machine wrong figures, will the right answers come out?' I am not able
rightly to apprehend the kind of confusion of ideas that could provoke such
a question."
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~