Intune Powershell Scripts – Encoding Gotcha

Just had a powershell script that was failing When I went in to the registry key that stores the results of the script running I saw some corrupted characters The problem turned out to be I had a file that was encoded in UTF-16LE So I saved the powershell script as...

About the Author

James is an IT Professional based in Melbourne, Australia. He blogs about Information Technology, Open Source software, home renovations, good reads and travel.

Login

Blog History