Delete NoUIEntryPoints-DesignMode packages

两盒软妹~` 提交于 2019-11-29 20:37:52
utopiafallen

You can use the following PowerShell command:

Get-AppxPackage -Publisher "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" | ? {$_.IsDevelopmentMode -eq "True"} | Remove-AppxPackage

This does 3 steps:

  1. Gets all installed AppX packages published by Microsoft.
  2. Filters them by those marked as DevelopmentMode.
  3. Removes the results.

I just wasted a bunch of time trying to figure out how to remove 1000+ "NoUIEntryPoints-DesignMode" debug application deploys as well so I thought I'd save other developers to annoyance.

Note: If you have just want to delete all developer mode apps, you can remove the -Publisher filtering:

Get-AppxPackage | ? {$_.IsDevelopmentMode -eq "True"} | Remove-AppxPackage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!