| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
If you have a command line it should be fairly simple to convert it into a vbscript. First thing I would suggest would be to take your command line and get it to run once against 1 server. Start out using .RUN, see the WSH documents for help with this. Start with something like this: WshShell.Run "cmd /K plink -v -command etc",1,True Once you have that working redirect to a text file WshShell.Run "cmd /C plink -v -command etc >c:\ServerName.txt",1,True Once you have that, you can then start to use readline to get the text file into vbscript. Start putting something together and post when you have questions. the WSH docs will help with the basics.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|