Download MSIX/APPX Packages from Microsoft Store using PowerShell

If you need to download an MSIX/APPX package from the Microsoft Store, you don’t technically have any alternative rather than the actual Store. But I’ve stumbled upon a PowerShell script designed by Mattias which is easy to use and so far it works great.

First, navigate to the GitHub repository and download the Download-AppxFromStore.ps1 script. Once you downloaded the script, it’s time to search for the desired package from the store.

To do this, go to the start page of the Microsoft Store in your desired browser and search for the desired application. In my case, I went ahead and searched for Python 3.8.

What is important here is the actual link to the application. In my case the correct link is: https://www.microsoft.com/en-us/p/python-38/9mssztt1n39l

As you can see, it is without the #activetab=pivot:overviewtab

Next, open up CMD and type the following command:

powershell.exe -executionpolicy bypass -file “D:\Download-AppxFromStore.ps1” -StoreURL https://www.microsoft.com/en-us/p/python-38/9mssztt1n39l

 



Replace “D:\Download-AppxFromStore.ps1” with the actual location where you stored the ps1 script and replace the store url with the one desired.

Once you click Enter, the script will start and the desired MSIX package will be downloaded in the %temp% folder and the script will automatically open the path:

Sharing is caring!

Leave a comment

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

seventeen − five =