Relative Content

Tag Archive for powershellcommand-promptstart-process

How to auto accept Y in CMD prompt when running a powershell script

I am trying to run a powershell script (.ps1) to automatically install some Python libraries on a remote server. I am using the conda package manager and the powershell start-process command. The problem I am encountering is that when it runs this way, a cmd prompt gets launched that requires an accept Y/N response before it will complete. The commands look like this: