1、卸载旧版 Microsoft Store 首先使用键盘快捷键“Win+X”打开菜单,然后启动“Windows 终端(管理员)”输入以下命令,并按回车键执行。get-xpackage *store* | remove-Appxpackage 2、安装新版 Microsoft Store 卸载旧版本之后,建议等待几分钟,然后再执行新版安装操作。PowerShell 窗口不要关闭,继续执行以下指令...
Get-AppxPackage -AllUsers Microsoft.WindowsStore* 这个命令使用Get-AppxPackage cmdlet来查找所有用户账户下所有与"Microsoft.WindowsStore"相关的已安装的appx包。-AllUsers参数表示搜索范围包括所有用户账户。 通过管道传递结果: powershell | 管道符号|用于将前一个命令的输出作为后一个命令的输入。 重新注册每个...
Store application. Now I want it back, but I cannot re-install it. Normally, I would use Get-AppxPackage to get the InstallLocation for Microsoft.WindowsStore and use that information with Add-AppxPackage, but Get-AppxPackage doesn't return an application with the name Microsoft.WindowsStore....
Get-AppxPackage*Xbox* |Remove-Appxpackage Get-appxprovisionedpackage-online|where-object{$_.packagename-like"*Xbox*"} |remove-appxprovisionedpackage-online Get-AppxPackage*Maps* |Remove-Appxpackage Get-appxprovisionedpackage-online|where-object{$_.packagename-like"*Maps*"} |remove-appxprovisioned...
To get the package name of an UWP app: (Get-AppxPackage "Microsoft.WindowsStore").Name But what if you want to get the actual name of the app (which is displayed in Start menu). Ex: Microsoft Store. Is there a way for that? powershell Share Improve this question Follow asked Mar...
When Add-AppxPackage or Remove-AppxPackage report a failure, they return the ActivityID to use with Get-AppxLog. For more information about common error codes, see Troubleshooting packaging, deployment, and query of Windows Store apps. Examples Example 1: Get logs for the most recent deployment...
Re-Register Microsoft Store In the Windows search typePowershellthen right-click on Windows PowerShell and select Run as administrator. Now type the following in the Powershell and hit enter: Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppX...
Also see:Fixing Microsoft Store Error on Windows 11 or 10 Get-AppxPackage is not recognized as an internal or external command Get-AppxPackage is a PowerShell cmdlet, so you should run it in the PowerShell, not the regular Command Prompt. The error “Get-AppxPackage is not recognized as ...
IAppxPackageWriter interface IAppxPackageWriter2 interface IAppxPackageWriter3 interface IAppxSourceContentGroupMapReader interface Download PDF Learn Windows Apps Win32 API Packaging, deployment, and query of Windows Store apps Appxpackaging.h
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有...