Add option to run PowerShell Script tasks with PowerShell 7

Morpheus runs PowerShell Script tasks with Windows PowerShell 5.x. It would be good to have the option to run PowerShell Script tasks with PowerShell 7.x (or later).

I have specific a example of wanting to write a task to run a cmdlet provided by the vendor of a backup product. The cmdlet requires PowerShell 7.x due to the use of the Invoke-RestMethod cmdlet, and a specific switch that is not available in Windows PowerShell 5.x, but is available in later versions.

I have worked around it, after some suggestions from the discussion forum, but it results in a task thta contains a complicated one-liner, rather than a proper PowerShell script.