Skip to content

Instantly share code, notes, and snippets.

@sinky
Created January 3, 2019 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sinky/0d11b115ebf370dd001be451d08498cc to your computer and use it in GitHub Desktop.
Save sinky/0d11b115ebf370dd001be451d08498cc to your computer and use it in GitHub Desktop.
Remove-AppxPackage GUI (Remove-AppXProvisionedPackage)
#Durch Out-GridView ist eine auswahl über ein grafische Oberfläche möglich
#App aus dem aktuellen Userprofil deinstallieren:
Get-AppxPackage | sort name | Out-GridView -PassThru | Remove-AppxPackage
#ggf. den Parameter -AllUser bei Get-AppxPackage und Remove-AppxPackage hinzufügen, um bei allen Userprofilen des PCs die App zu deinstallieren
#Um die App aus dem Windows Image zu entfernen, damit sie bei einem neuen User nicht wieder installiert wird:
Get-AppXProvisionedPackage -online | sort DisplayName | Out-GridView -PassThru | Remove-AppxProvisionedPackage -online
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment