Hi Hugo and welcome to the Community!
The PowerShell action expects a PowerShell script, not a list of shell commands.
See examples of use of the PowerShell action:
Hi Hugo and welcome to the Community!
The PowerShell action expects a PowerShell script, not a list of shell commands.
See examples of use of the PowerShell action: