After executing a PowerShell script on a windows executor you got following error:
File C:\Path\Powershell.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.
Open regedit and change the following keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell
"ExecutionPolicy"="RemoteSigned"
"Path"="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"