/build/static/layout/Breadcrumb_cap_w.png

Copying files to multiple workstations in different office

I'm looking for a script to copy multiple files to workstations that are located in different offie, that are all accessible via vpn.

The computer names are setup the same way.

WKS followed by office # and 01, 02, 03 and so on.
Ex:
wksOffice101
wksOffice102
wksOffice201

Any help would be appriciated.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: aogilmor 16 years ago
9th Degree Black Belt
0
download scriptomatic from microsoft and play around with it. One cool thing about wmi is that remote connections are built into it. By default scriptomatic generates an array for your local computer, but this can be modified:

arrComputers = Array("wksOffice101")
For Each strComputer In arrComputers
<copy file code>
Next

You can place all your workstation names into the array, or declare an array and get it to read from a text file if you have a whole lot of them.

good luck!
Posted by: anonymous_9363 16 years ago
Red Belt
0
Michel, PM me and I'll send you a file-handling script which you could hack into service. You would be able to use the principles outlined in it for handling the files to handle the multiple workstation targets which, as Owen hints at, is simply converting a list into an array, looping through that array and then performing an action. I would post the script but a) it's much too large and b) the forum strips indentation which would make it quite hard to follow.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ