This will list all services, and email them to you.

-----Original Message-----
From: Brown, Bobby (US - Hermitage) [mailto:[EMAIL PROTECTED]
Sent: 09 September 2003 16:24
To: 'Leon'; perl; Yahoo Beginner Perl; win32
Subject: RE: script to enumerate window services


Various scripts here I use to gather information from remote servers

Bobby

-----Original Message-----
From: Leon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 8:53 AM
To: perl; Yahoo Beginner Perl; win32
Subject: script to enumerate window services


Hi everyone,

Does anyone know how I could go about writing a script
to find all the services running on a remote windows
2000 server (actually I need to go through about 200
servers looking for a particular service but if you
guys can just help get me started I can write the
logic to loop through all 200 and check for the
service once i Have it.)  I tried to cheat :( and use
scriptomatic but i was surprised to find there is not
a wmi class for services??? Is there one am I missing
it?  Can anyone give me a helpful push in the right
direction?  Does anyone have any sample code I could
look at?

Thx in advance,

Leon (scripting newbie)

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law.  If
you are not the intended recipient, you should delete this message.  Any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



The information in this email is confidential and may be legally privileged. It is 
intended solely for the addressee. Access to this email by anyone else is 
unauthorised.if you are not the intended recipient, any disclosure, copying, 
distribution, or any action taken or omitted to be taken in reliance on it is 
prohibited and may be unlawful. Please note that any views, opinions or advice 
contained in this email are those of the sending individual and not necessarily those 
of the firm. It is possible for data transmitted by e-mail to be deliberately or 
accidentally corrupted or intercepted. For this reason, where the communication is by 
e-mail, J&E Davy does not accept any responsibility for any breach of confidence which 
may arise from the use of this medium. If you have received this e-mail in error 
please notify us immediately at mailto:[EMAIL PROTECTED] and delete this e-mail from 
your system.

Attachment: Services-list-all-PCs.PL
Description: Binary data

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to