I'm trying to make my command line works inPowerShell and as to be a silent install

I'm trying to make a script for a VHX-7000_970F Software. I found a script that works on command prompts but I can't figure out how to make it works for Powershell. It as to be silent. 

My scrpits that works on cmd :  setup.exe /v"/qn 

What I tried on powerShell : 

  • & setup.exe /v"/qn"  
  • & "setup.exe" '/v"/qn"'
  • Start-Process "setup.exe" '/v" /qn"' -Wait
  • I've tried /S, /quiet, /qb, /qn, /silent
  • I've tried with the MSI too

I'm out of options.... 

0 Comments   [ + ] Show comments

Answers (4)

Posted by: sawyer 2 years ago
White Belt
Start-Process "setup.exe" -ArgumentList "/V`" /qn"
Posted by: sawyer 2 years ago
White Belt

to be clear since it is hard to see, there is a backtick (PowerShell escape character) before the quotation after V.

Posted by: dannyarya 2 years ago
Senior Purple Belt

This should work

Start-Process "setup.exe" -ArgumentList "/S /v/qn"

Posted by: Hobbsy 2 years ago
Red Belt

I would suggest you go back to the software manufacturer and check with them, as they created the exe and any available options

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ