jseerden/IntuneBackupAndRestore

PowerShell script encoding changes

AlwaysLearningTech opened this issue · 2 comments

I uploaded PowerShell scripts with UTF-8 encoding and they're working as expected. When I run IntuneBackupAndRestore, the PS1 file in the Script Content folder is encoded as UCS-2 LE BOM. Restoring these scripts appears to work, but they result in errors when pushed to the clients due to the encoding.

I suspect this was an error on my part. I will test further and submit clarification or close.

I was attempting to make unsupported changes and should not have opened this report