Add possibility to use Powershell profile

Description

As per https://docs.gitlab.com/runner/shells/#powershell, Gitlab CI does not use any profile for Powershell. That leads to impossibility to use i.e. Docker images which have some preparation work included in the profile.

Real-life example - Windows Docker image with MSVS/MSBuild tools installed, we include sourcing of VS environment (like C:\BuildTools\VC\Auxiliary\Build\vcvars64.bat)

However it doesn't work currently in Gitlab CI, because runner runs powershell without profile :(

Proposal

Add possibility to exclude -noprofile from the list of parameters Gitlab runner uses to run the script

Assignee Loading
Time tracking Loading