Trying to install the Microsoft Store with PowerShell (as Administrator) by following the instructions in this article:
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}
But found it has no effect at all, as it turns out that the
Get-AppxPackage -allusers Microsoft.WindowsStore
Just produce empty result.
So, how to install the Microsoft Store with PowerShell in such case?
My OS:
- OS: Microsoft Windows Server 2022 Standard
- Version: 10.0.20348