Skip to content

Instantly share code, notes, and snippets.

@shiftkey
Created January 7, 2013 03:35
Show Gist options
  • Save shiftkey/4472115 to your computer and use it in GitHub Desktop.
Save shiftkey/4472115 to your computer and use it in GitHub Desktop.
Want to clean up all the development apps you have deployed in your Windows 8 development environment? Change the -User parameter to your account and run this script. WARNING: It will delete data. It only looks for packages named with GUIDs, not apps you have installed from the Store. Use at own risk.
Get-AppxPackage -user zeus\brendan | Where-Object {$_.Name -match "[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-)
{3}[a-fA-F0-9]{12}" } | Foreach-Object {Remove-AppxPackage $_.PackageFullName}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment