Need vbscript to run a backup application commands multiple times
I Need vbscript to run a backup application commands multiple times and display its output or save it output in text file.
earlier i had linux servers so do certain tasks like related to backup application line updating clients for WOFB n VSS , making clients offine was fairly simple task.
create a file on /tmp/ . update serverlist in it. then simple for loop would do the trick. no fancy script required.
for i in `cat serverlist`; do echo $i; /usr/openv/netbackup/bin/admincmd/bpclient -client $i -add -WOFB_enabled 1 -WOFB_FIM 1 -WOFB_usage 0 -WOFB_error 1; done
but now i hav windows OS based server please share windows based .VBS script which performs same function as about unix script.