write file to utf-8

Powershell Write File To UTF-8


Just a simple program that re-writes files in a folder to UTF-8. A production server I work on had an old version of Powershell running on it and a file needed to be in UTF-8 for it to be read by a Golang-script, so this was created.

This can be run from the terminal by calling the script and passing the logPath and pathToFiles parameters to the Script.

Doesn't write a BOM (Byte Order Mark) on the file, due to the Golang Script reading the file.