Share via

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.

0 comments No comments

Answer accepted by question author

  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

    50+ 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

    80+ people found this answer helpful.
    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. 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

    10+ people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2020-08-05T15:28:34+00:00

    Hi!

    I can't find and launch my Microsoft Store. I tried the PowerShell solution but it didn't work. 

    It says, "You'll need a new app to open this ms-window store link" What does it mean? What should I do?

    Thanks in advance!

    7 people found this answer helpful.
    0 comments No comments