I’m not asking anyone to do this for me, but want to know if automating this task is possible with PS before i waste too much time trying. ![]()
I’m not a windows guy at all, and would normally just write this in PHP, but the place i work is Windows only, and they need a replacement for an antiquated .net routine and none of the crack “development” staff will attempt this simple task:
Need to open a file from one folder, insert an HTML header and footer (i can find/replace a placeholder), then save the file to a new location.
I’ve already determined that i can watch the origin folder for new saves, and trigger the copying of the file to a new destination. If someone can tell me if it would be possible to insert a step to open the file, insert the header/footer, then save, i would appreciate it.
Thank you. As sick as this may sound, i’m actually looking forward to learning PowerShell ![]()