I use Octopus for our deployments. I have a problem with one of the Powershell scripts to control the deployment:
# stops running processes
$processes = @(\"Note
Run with -Force
:
Stop-Process -InputObject $prc -ErrorAction SilentlyContinue -Force
As C.B. suggested in the comment: -confirm:$false
should also work. Rationale for this is as follows: -Confirm
is a switch parameter. Switch parameters can only take arguments if you specify the parameter with a trailing colon and a value.