Skip to content

Instantly share code, notes, and snippets.

@GiovanniGrieco
Created October 19, 2019 19:16
Show Gist options
  • Save GiovanniGrieco/bcafd6d7a8d166321d6f247986a7ffd7 to your computer and use it in GitHub Desktop.
Save GiovanniGrieco/bcafd6d7a8d166321d6f247986a7ffd7 to your computer and use it in GitHub Desktop.
# List Installed Appx (Metro/Store/Modern Apps)
#Get-AppxPackage | Select Name
# Appx I do not need
# More info: https://docs.microsoft.com/it-it/windows/application-management/apps-in-windows-10
$AppxToRemove = @(
'Microsoft.Windows.Photos',
'Microsoft.WindowsCamera',
'Microsoft.WindowsStore',
'microsoft.windowscommunicationsapps',
'Microsoft.XboxIdentityProvider',
'Microsoft.WindowsAlarms',
'Microsoft.StorePurchaseApp',
'Microsoft.VP9VideoExtensions',
'Microsoft.ZuneVideo',
'Microsoft.ZuneMusic',
'Microsoft.YourPhone',
'Microsoft.XboxSpeechToTextOverlay',
'Microsoft.XboxGamingOverlay',
'Microsoft.XboxGameOverlay',
'Microsoft.XboxApp',
'Microsoft.Xbox.TCUI',
'Microsoft.WindowsSoundRecorder',
'Microsoft.WindowsMaps',
'Microsoft.WindowsFeedbackHub',
'Microsoft.WindowsCalculator',
'Microsoft.WebpImageExtension',
'Microsoft.WebMediaExtensions',
'Microsoft.Wallet',
'Microsoft.Print3D',
'Microsoft.People',
'Microsoft.OneConnect',
'Microsoft.Office.OneNote',
'Microsoft.MSPaint',
'Microsoft.MixedReality.Portal',
'Microsoft.MicrosoftStickyNotes',
'Microsoft.MicrosoftSolitaireCollection',
'Microsoft.Microsoft3DViewer',
'Microsoft.Messaging',
'Microsoft.HEIFImageExtension',
'Microsoft.Getstarted',
'Microsoft.GetHelp',
'Microsoft.BingWeather',
'Microsoft.Advertising.Xaml',
'Microsoft.Advertising.Xaml',
'Microsoft.Services.Store.Engagement',
'Microsoft.Services.Store.Engagement',
'Microsoft.MicrosoftOfficeHub'
)
# Remove packages
foreach ($i in $AppxToRemove) {
Get-AppxPackage -Name "*$i*" | Remove-AppxPackage
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment