Adding parameter for path
Added an optional parameter of Path to set the Path where the decoded file and tmp file should be placed. If not set it defaults to the temp location as before
Useful if you want to handle the file further in a script
I have completely rebuilt the IntuneWin decrypter in PowerShell so that it doesn't need any external dependencies. I have also added a few extra features to it and more documentation.
Take a peek and tell me what you think:
https://github.com/elliot-huffman/Powershell-Doodads/blob/main/Apps/Endpoint%20Manager%20(Intune)/Unprotect-IntuneWin.ps1
I included the output path functionality that you have requested in this pull request natively in the rewritten script.