- May 13, 2017
- 2,685
Someone has just shown me how to install store apps using winget, winget does not export installed store apps like normal software, so it has to be done separately.
In case store is somewhat broken, winget might be able to update apps by reinstall. Upon clean install I can uninstall all apps except store and install only those I want.
Winget has to be installed manually unfortunatelly. Get App Installer - Microsoft Store
App ID is the number within the URL, for example MSN Weather - microsoft.com/en-us/p/msn-weather/9wzdncrfj3q2
In case store is somewhat broken, winget might be able to update apps by reinstall. Upon clean install I can uninstall all apps except store and install only those I want.
Code:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Get-AppXPackage | where-object {$_.name –notlike '*store*'} | Remove-AppxPackage
Code:
winget install --id 9wzdncrfj3q2 --exact --source msstore --accept-package-agreements --accept-source-agreements