Skip to content

Feat: Support Modern Powershell for Script Tasks #484

Description

@mirbach

Is your feature request related to a problem? Please describe.
I was troubleshooting why some of my scripts didn't work until i realised I was using Powershell 7 modules and openuem executes in Windows Powershell.

Describe the solution you'd like
All supported Version of Windows ship with Windows Powershell 5.1 (powershell.exe) the most recent version is Powerhshell 7.X.X (pwsh.exe). It is platform agnostic and I'm also using it on my Linux Servers. It would be good to have the option to select the Powershell verison for Windows in the taks creation dialog. Similar to the shell selection option in the linux task dialog.

Describe alternatives you've considered
Alternativly the agent could detect the available versions and choose the most recent one.

Additional context
none

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions