Posted in

Install an exe file using powershell | Windows Server

To install an application from an .exe file using PowerShell, you can use the Start-Process cmdlet. Here's a basic example:


Start-Process -FilePath "C:\path\to\your\application.exe" -ArgumentList "/silent" -Wait

Replace "C:\path\to\your\application.exe" with the path to your .exe file, and /silent with any command-line arguments that the installer might require. The -Wait parameter ensures that PowerShell waits for the installation process to finish before moving on to the next command.

Leave a Reply

Your email address will not be published. Required fields are marked *