Powershell Command to create a csv file using UTF-8 encoding
I have a powershell command that is calling a sql query to create a csv file. The file is being created as encoded as Unicode. I need the file to be encoded as UTF-8. Is there a command i can add to my code to have the file created as UTF-8?