Skip to content

feat: pass script_executable through to PowerShell task config - #91

Open
mirbach wants to merge 1 commit into
open-uem:mainfrom
mirbach:feat/powershell-7-engine
Open

feat: pass script_executable through to PowerShell task config#91
mirbach wants to merge 1 commit into
open-uem:mainfrom
mirbach:feat/powershell-7-engine

Conversation

@mirbach

@mirbach mirbach commented Aug 9, 2026

Copy link
Copy Markdown

Summary

  • Threads Task.ScriptExecutable into wingetcfg.ExecutePowershellScript so the agent learns which PowerShell engine (5.1 / pwsh 7+ / auto) the admin selected for a task.

Depends on

Test plan

Verified end-to-end as part of the companion openuem-agent PR's test plan — this worker binary (built from this branch) processed real PowerShell tasks dispatched from the console and correctly passed the selected engine through to a live agent.

Threads the task's chosen PowerShell engine (Windows PowerShell 5.1 /
pwsh 7+ / auto) into wingetcfg.ExecutePowershellScript so the agent
knows which engine to run the script under.

Depends on open-uem/wingetcfg#feat/powershell-7-engine landing and a
new wingetcfg version being pinned in go.mod before this builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant