install windows app powershell

$MSIInstallArguments = @(
    "/i"
    '"c:\alkane.msi"'
    "/qb!"
    "/norestart"
    "/l*v"
    '"C:\Temp\alkane_install_log.log"'
)
Start-Process "msiexec.exe" -ArgumentList $MSIInstallArguments -Wait -NoNewWindow 


$MSIUninstallArguments = @(
    "/x"
    "{0233CEF0-B5CD-40BB-AEAD-A131A547112E}"
    "/qb!"
    "/norestart"
    "/l*v"
    '"C:\Temp\alkane_uninstall_log.log"'
)
Start-Process "msiexec.exe" -ArgumentList $MSIUninstallArguments -Wait -NoNewWindow

3.63
8
Ken Taylor 120 points

                                    Add-AppxPackage <PackageName>.AppxBundle

3.63 (8 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
powershell install app from the Microsoft Store powershell "install-package" msi powershell install-package msi install msi using powershell powershell download msi and install powershell install msi file download and run msi powershell install msi file powershell powershell to install msi how to install .msi file using powershell how to install apps using powershell powershell msi quiet install install app with powershell package powershell into msi install app from windows store powershell installation application software with powershell create a windows app with powershell powershell app install windows 10 install app installer windows 10 powershell powershell install app from windows store powershell install windows store app install windows store apps powershell how to install microsoft store apps via powershell how to install powershell 7 in windows 10 execute-msi powershell how to install microsoft apps in windows 10 powershell how to install apps windows 10 powershell powershell msiexec select install options run msi from powershell install msi powershell install windows store app powershell install microsoft store powershell msix powershell commands install install powershell windows 10 install windows app powershell install bginfo powershell msi powershell install msi shell install powershell run msi powershell msi Cannot run a document in PowerShell msi powser shell msi download file msiexec.exe powershell powershell install msi file with arguments powershell install msi silently powershell install msi install powershell exe using msiexec install powershell msi comand
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source