Can you please let me know how to run an exe or console application through a powershell script in SharePoint 2010.

  • This question doesn't even make any sense. Please elaborate. – x0n Dec 6 '11 at 20:22

Take a look at Start-Process

For example, I have used it to run an installer

Start-Process -FilePath ".\Scripts\Prerequisites\FilterPack\FilterPack64bit.exe" -ArgumentList /passive, /norestart -Wait

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.