A few months ago, in the readme, we changed the `Set-Execution` policy to a process scoped one to avoid users exposing their machine.
That induces a new problem.
When we start the script without administrator rights, but with the `Set-Executionpolicy` scoped to `Process`, the script restarts itself with elevated rights but in the previously set execution policy (likely `RemoteSigned`).
This patch passes :
- NoProfile
- ExecutionPolicy Bypass
- NoExit
- File
To the newly created process.
Features
Added removal of Copilot, the new Outlook client, and Microsoft Teams packages.
Added registry keys to proactively disable Copilot and prevent app re-installations.
Improvements
Switched to Dism.exe with /Compress:recovery for significantly smaller final ISO file sizes.
Reworked scheduled task removal to be simpler and more reliable.