How to install Microsoft store app through powershell

Anonymous
2020-07-12T14:13:45+00:00

Hello,

Want to know how to install Microsoft store app directly through powershell.

I mean to say want to install app from Microsoft store

Like Microsoft to do application

Windows for business Windows Server User experience PowerShell

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes
Accepted answer
  1. Anonymous
    2022-02-18T19:44:04+00:00

    Hi,

    you should be able to use:

    winget install <identifier or search query> --source msstore

    example:

    winget install "firefox" --source msstore

    Winget is a fairly new feature, make sure you have installed any updates to Windows and the windows package installer.

    Regards,

    LightJack

    57 people found this answer helpful.
    0 comments No comments

42 additional answers

Sort by: Most helpful
  1. Anonymous
    2020-07-12T14:15:03+00:00

    Hello nileshpawar4,

    I'm John an Independent Advisor and a Microsoft user like you. I want to apologize if you encountered this issue. I understand you want to install Microsoft Store through powershell

    Reinstall the Store:

    Press Windows key + X

    Click and Run Windows PowerShell as Administrator

    At the command prompt, copy-paste the following then hit Enter:

    Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

    Launch again your MS Store

    I hope this helps! Kindly inform me if my suggestions does not solve the problem. I can provide another solution for you to try.

    Sincerely

    John DeV

    Independent Advisor

    86 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-07-12T15:00:34+00:00

    Hi John,

    I mean to say want to install app from Microsoft store

    Like Microsoft to do application

    11 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-07-12T15:53:17+00:00

    Hello nileshpawar4,

    Thank you for updating me that information. Based on this thread with similar problem, It's not possible but let's check what others might say and provide a better solution about this issue.

    https://social.technet.microsoft.com/Forums/win...

    Sincerely

    John DeV

    Independent Advisor

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2020-07-12T16:07:19+00:00

    Hi nileshpawar4, My name is Jeremy, a Windows Independent Adviser. I'll be happy to help you out today. Let’s see what I can do.

    I regret to inform you but, unfortunately, it is not possible to use PowerShell to install apps from Microsoft store as of this moment,

    The Add-AppxPackage cmdlet adds a signed app package to a user account. An app package has an .msix or .appx file name extension. Use the DependencyPath parameter to add all other packages that are required for the installation of the app package. You can use the Register parameter to install from a folder of unpackaged files during the development of Windows:registered: Store apps.

    In the meantime, please use the Feedback hub under your start menu and drop some comments and suggestions. Microsoft has always a room for improvement for the best experience of its user.

    I hope this information helps

    Kind regards,

    Jeremy

    3 people found this answer helpful.
    0 comments No comments