Skip to content

Restore argument "NoProfile" for powershell in encoded command

Alexandr Timoshenko requested to merge saw.friendship/gitlab-runner:main into main

What does this MR do?

restore lost argument "NoProfile" in encoded command

Why was this MR needed?

The NoProfile argument is lost in the encoded pwsh command. If there is a pwsh system profile on the computer, it is read and executed

What's the best way to test this MR?

execute the pwsh code

Set-Content -Path "C:\Program Files\PowerShell\7\profile.ps1" -Value '"READ PROFILE"'

run ci pipeline using shell pwsh

What are the relevant issue numbers?

Merge request reports