We help IT Professionals succeed at work.

windows batch file

samih_habib
samih_habib used Ask the Experts™
on
I need a batch file (windows batch file) to do the following:

1-      Connecting to 5 different remote windows 2004 servers  
2-      The user name : user01 password : password for each server to connect
3-      Action is to Check the status of iis service and TmProxy service in all servers
4-      And write the result in text

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
you can change the code in my comment to your question http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_27239419.html

with
sc \\server query iisadmin

or
wmic /node:server service iisadmin get name,status,systemname

Author

Commented:
Thanks