Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

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

1 Answer 1

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
share|improve this answer
    
Thanks MLF, your script worked for me. –  Zakir HC May 30 '12 at 10:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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