Test powershell script on worker
I have a Windmill worker installed on a Windows VM. In Windmill, I want to run a simple PowerShell script so that it runs on this VM via this worker. I correctly positioned the tag in the script, but I'm getting this runtime error.
Can you help me?

2 Replies
Did you follow the guide? https://www.windmill.dev/docs/misc/windows_workers#powershell-executor
Windows workers | Windmill
Windows workers enable you to run Windmill scripts and flows directly on Windows machines without requiring Docker or WSL, supporting Python, Bun, PowerShell, C#, and Nu executors for native Windows execution.
It's OK now. I added
set POWERSHELL_PATH=C:\Program Files\PowerShell\7\pwsh.exe
And it works from Windmill UI
š