Alain
Alain•2w ago

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?
No description
2 Replies
Pyra
Pyra•2w ago
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.
Alain
AlainOP•2w ago
It's OK now. I added set POWERSHELL_PATH=C:\Program Files\PowerShell\7\pwsh.exe And it works from Windmill UI šŸ™‚

Did you find this page helpful?