How can I run a PowerShell script inside Windmill?
1. Create a Bash script
1. Install PowerShell if not installed (see snippet below)
1. Store PowerShell script in Windmill variable
1. Retrieve variable value and write to file
1. Execute script
Install PowerShell Debian Package (if not already)
Grab PowerShell Script From Variable and Store in File
Invoke the PowerShell Script
2 Replies
I think we will use this to integrate PowerShell officially
Thanks for the Github discussion and post
It's not terribly elegant, but it does work. It would be nice to just write a script directly in the editor, rather than having to store it in a variable, download it, and then execute it.