Share via


Manage Microsoft Store apps with Powershell

Question

Friday, August 9, 2019 11:03 AM

Hello,
first of all we have searched for a long time, but unfortunately we did't find a solution.

Is there a way to control the local Mircosoft store with Powershell to install apps?

With the commands:

Add-AppxPackage
Install-PackageProvider 

we didn't succeed in accessing the Microsoft Apps store to install online packages.

All replies (5)

Monday, August 12, 2019 7:37 AM ✅Answered

Hi,

Thanks for your question.

Sorry. I don't think you can install windows store app by powershell. As far as I know, you can use "Add-AppxPackage"to reinstall apps the current user removed or that got "lost" in some Insiders update. You cannot sideload an app that has been downloaded from the Microsoft Apps Store. 

But I will help you to feedback your request to install/remove store apps by powershell.

Please refer the link below:

https://github.com/Microsoft/windows-dev-box-setup-scripts/issues/30

Best regards,

Lee

Just do it.


Monday, August 12, 2019 1:33 PM ✅Answered

If you had the appx package, you could provision it for new users with "add-appxprovisionpackage -online" /en-us/powershell/module/dism/add-appxprovisionedpackage?view=win10-ps


Friday, August 9, 2019 12:33 PM

Hi,

When you say control, what exactly you want to do using powershell? Can you please give some use cases or examples?

You can configure policies for Windows Store Apps using Group Policy.

Thanks, Rajiv Iyer


Friday, August 9, 2019 1:16 PM

Hi, Rajv,

we want to install shop apps via Powershell. For example 7zip.  

- https://www.microsoft.com/de-de/p/7-zip-compressor/9n2rwsgzctcs?activetab=pivot:overviewtab


Monday, August 12, 2019 2:27 PM

For few users or computer, you can have Group policy to install softwares. But in case if number of computer or users are high, this will impact your performance.

If the number of users are high, you can use SCCM, and push software on multiple computers easily.