I keep getting syntax error for the following psconfig.exe. Any idea?

Start-Process "PSConfig.exe" ps-ArgumentList "-cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures" -wait

Error: Start-Process : A positional parameter cannot be found that accepts argument '-cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures'.

  • 1
    Try this directly...PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures – Ransher Singh May 8 '15 at 13:51
  • Cool. It took the command and now going through config process. Thanks Ransher... – Miley Jordan May 8 '15 at 14:06
  • Glad it helped! – Ransher Singh May 8 '15 at 14:06

From your command, looks like their is some error.You have to provide the complete path of PSConfig and also use -ArgumentList instead of ps-ArgumentList.

Start-Process "path of file\PSConfig.exe" -ArgumentList "-cmd upgrade -inplace v2v -passphrase FarmPassPhrase -force -wait" -Wait

If their is not such requirement then you can directly run the psconfig and see if that work.

  • The parameter name "-ArgumentList" is optional. You don't need it. – John Palmer Jun 17 '17 at 0:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.