Hey, I'm trying to figure out how to get PS to update a folder's content if the rev file on the remote share is different.
Here' s the basic logic:
1. Get current rev (from a text file called Rev #.txt, where # is the number).
2. Get new rev from a remote share (\\sharename\Rev #.txt)
3. If rev on the remote share is newer, copy the content from the remote share to the current folder.
4. Done.
Any help is much appreciated. Thanks!