Microsoft Store - how to update apps remotely

Mark Marco 0 Reputation points


I'm looking for an option to update Microsoft Store apps remotely (via PowerShell, CLI, etc.). Because of compliance reasons we can't enable auto-update.

Is there any way to trigger "Update all" option in Microsoft Store for remote computers?

We need to find a way to manage those apps updates and hopefully there is some other option to trigger them than log in to each computer individually and clicking "Update all" button in Microsoft Store.



Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,164 questions
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,076 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. S.Sengupta 17,141 Reputation points MVP
    1. Ensure that PowerShell Remoting is enabled on the remote computers.
    2. Create a PowerShell script that will update the Microsoft Store apps on the remote computers.
    3. You can run the script on multiple remote computers using a list of computer names.
    0 comments No comments

  2. Ian Xue (Shanghai Wicresoft Co., Ltd.) 34,191 Reputation points Microsoft Vendor


    You can try the command winget upgrade.

    winget upgrade --all --accept-package-agreements --accept-source-agreements 

    To run this command on a remote computer, you need to configure the computer to receive PowerShell remote commands. On your local computer and the remote computer, open Windows PowerShell as administrator and run


    Then you can use the PowerShell cmdlet Invoke-Command to specify the remote computer and your credential like this

    Invoke-Command -ComputerName "Server01" -Credential (Get-Credential) -ScriptBlock {winget upgrade --all --accept-package-agreements --accept-source-agreements }

    Best Regards,

    Ian Xue

    If the Answer is helpful, please click "Accept Answer" and upvote it.