For those of you that want the default terminal in windows 11 to be cmd again, I’ve created two simple files that can be used in an Intune Remediation to automatically configure the default terminal.
https://github.com/jflieben/assortedFunctionsV2/tree/main/DefaultTerminalRemediation
Run in user context!
This solves PowerShell windows staying visible even if -WindowStyle Hidden is used, e.g. from Scheduled Tasks.