Powershell in NonInteractive mode

前端 未结 2 1279
一个人的身影
一个人的身影 2021-02-12 05:39

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         


        
2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-12 06:02

    I just tried to use Remove-Item on the directory with children and got same message: Remove-Item : PowerShell is in NonInteractive mode. Read and Prompt functionality is not available. In my case -Recurse key has helped.

提交回复
热议问题