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 free spaces in drive c, d in each 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®
Commented:
here's a command that might help you get started:

wmic /user:"user01" /password:"password" /node:"server_name_goes_here" logicaldisk get name,freespace

Author

Commented:
Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial