I want to install any application from Microsoft store just by running script. I've been trying to find any information in the Internet but unsuccessfully.

I was wandering about possibility similar to remove default application:

Get-AppxPackage -Name "Microsoft.WindowsStore" -AllUsers | Remove-AppxPackage
  • Worth pointing out that command can be used to remove any UWP application – Ramhound Feb 16 '18 at 14:31

Referring to Microsoft Docs it is not possible for Windows 8, 8.1, Server 2012, Server 2012 R2:

You cannot sideload an app that has been downloaded from the Windows Store. To install Windows Store apps that are not part of your business line, you must use the Windows Store.

So, I might be wrong but I would assume there is no way in Win 10 either :/

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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