Hi FishMonger, thanks for the hints. Now I get to learn how to use hashes (which is not a bad thing at all).
The script will be called via another script (script-ception? sorry
) that will run on the laptop. The machine name is determined very early in the deployment process (one of the first few steps after OS installation)
In the build process, MirrorFolder is installed towards the end (there are some dependencies and a lot of CAD and design software that are more important, so they get installed first)
Oh, and thanks for cleaning up my post... I typed it out once in the editor, then lost it so I re-did it in Notepad++ and copied it, so the CODE tags I put in didn't do much.