Get-AppxPackage是PowerShell中的一个命令,用于获取当前系统中所有已安装的AppX包的信息。AppX是Windows 8及更高版本中用于分发、安装和管理应用的一种包格式。 解释管道符|在PowerShell中的作用: 管道符|在PowerShell中用于将前一个命令的输出作为后一个命令的输入。在这个例子中,Get-AppxPackage命令的输出(即所有...
Get-AppxPackage -allusers *windowscalculator* 得到如下信息: 拷贝查到的 InstallLocation,黏贴到如下命令中:Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_10.1805.1201.0_x64__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMode不同的包,替换命令中橘色背景部分的 Inst...
1) Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)AppXManifest.xml”} 管理员模式打开 powershell 输入: Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage 方法二: 1、鼠标右键点击任务栏上的开始菜单图标,弹出的隐藏菜单中...
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_....
So what does Get-AppXPackage on it own show? Your error has a non complete 2Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -R ..." so what was that command?Monday, February 27, 2017 6:46 AMHi ,Does the below Powershell command work for you? Try to run it as ...
-AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register"$($_.InstallLocation)AppX...
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”} Also, you can download our premade Run the BAT File to Register Store.Click hereto download the BAT file. Save it, right-click on it and chooseRun As Administrator.Once do...
想问问这个代码是个啥..想问问这个代码是个啥有啥用 Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} After the process completes, restart your PC and check the Microsoft Store for the option to exit S Mode. After switchin...
Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($.InstallLocation)\AppXManifest.xml” -Verbose} Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdgeDevToolsClient | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$...