I Use this script in MDT to remove all Windows 10 Apps.
Add more in $Appslist if you need to remove more.
$AppsList = "Microsoft.3DBuilder","Microsoft.Microsoft3DViewer","Microsoft.BingWeather","Microsoft.Getstarted","Microsoft.Messaging","Microsoft.MicrosoftOfficeHub","Microsoft.MicrosoftSolitaireCollection","Microsoft.OneConnect","Microsoft.People","Microsoft.SkypeApp","microsoft.windowscommunicationsapps","Microsoft.FeedbackHub","Microsoft.WindowsMaps","Microsoft.XboxApp","Microsoft.XboxIdendityProvider","Microsoft.ZuneMusic","Microsoft.ZuneVideo","AdobeSystemsIncorporated.AdobePhotoshopExpress","Microsoft.Advertising.Xaml","Microsoft.Office.OneNote","Microsoft.WindowsFeedbackHub","Microsoft.XboxGameOverlay","Microsoft.XboxIdentityProvider","Microsoft.XboxSpeechToTextOverlay","Microsoft.Office.Sway","Microsoft.BingNews","D5EA27B7.Duolingo-LearnLanguagesforFree","46928bounde.EclipseManager" ForEach ($App in $AppsList) { $PackageFullName = (Get-AppxPackage $App).PackageFullName $ProPackageFullName = (Get-AppxProvisionedPackage -online | where {$_.Displayname -eq $App}).PackageName If ($PackageFullName) { Write-Verbose "Removing Package: $App" remove-AppxPackage -package $PackageFullName } Else { Write-Host "Unable to find package: $App" } If ($ProPackageFullName) { Write-Verbose "Removing Provisioned Package: $ProPackageFullName" Remove-AppxProvisionedPackage -online -packagename $ProPackageFullName } Else { Write-Verbose "Unable to find provisioned package: $App" } }
Location in MDT: