Windows 10 PowerShell - Get-AppxPackage finds package, Remove-AppxPackage cannot remove it
How can I remove a seemingly spurious package in Windows 10? Remove-AppxPackage does not seem to work. The package must be a left-over from a previous install of the software that we develop. It looks like this in PowerShell:
PS C:\Windows\system32> Get-AppxPackage -all | Select-St开发者_如何学Pythonring SEARCH_STRING
FULL_PACKAGE_NAME
PS C:\Windows\system32> Remove-AppxPackage
cmdlet Remove-AppxPackage at command pipeline position 1 Supply values for the following parameters: Package: FULL_PACKAGE_NAME
PS C:\Windows\system32> Get-AppxPackage -all | Select-String FULL_PACKAGE_NAME
FULL_PACKAGE_NAME
What I tried: I tried removing a package with Remove-AppxPackage and the package was not removed. I tried both the full package name and the abridged package name as returned by Get-AppxPackage.
Prior to this, I did a regular uninstall of the app the package belongs to.
精彩评论