Sorry I deleted my previous message by mistake.
Be careful because sometimes Crowdstrike treats powershell / external scripts as threads and block VWorks.
Anyway, I use many powershell scripts myself and they work well with “run()”. Tipically I run the commands in a command shell with “cmd /c powershell…etc”. Use run() with the “true” flag so it waits until the script has finished before returning control to VWorks.
Ah yes you can run python files too in the same way. Remember that communications with vworks can only happen via files on disk (unless you use the API and in that case you can use user message from the calling program).