Hi all,
I have a pretty basic PowerShell script that I need help with. This is my first time even attempting to script so bare with me. I work for a software development and they have asked me to write a script that they can package in with their build updates. Basically they will complete a build that get's dropped to a folder (say \server\build\release1.1.2). We need a script that takes all the files/folders from that folder and copies them to the appropriately named locations.
I need the script to also read the # of the current build from the folder title and create that same # build folder when it copies. Easy enough to that however I need the references to be all dynamic, so when that Release1.1.3 comes out wecan drop the same script into there and it will copy all the files to the appropriate directories (and create them if they don't exist).
I'm not sure I am being entirely clear. If I'm not please let me know and I'll answer the questions as best I can. Thank you!.