@@ -2607,7 +2607,6 @@ Function InstallOneDrive {
26072607Function UninstallMsftBloat {
26082608 Write-Output " Uninstalling default Microsoft applications..."
26092609 Get-AppxPackage " Microsoft.3DBuilder" | Remove-AppxPackage
2610- Get-AppxPackage " Microsoft.Advertising.Xaml" | Remove-AppxPackage
26112610 Get-AppxPackage " Microsoft.AppConnector" | Remove-AppxPackage
26122611 Get-AppxPackage " Microsoft.BingFinance" | Remove-AppxPackage
26132612 Get-AppxPackage " Microsoft.BingFoodAndDrink" | Remove-AppxPackage
@@ -2664,13 +2663,14 @@ Function UninstallMsftBloat {
26642663 Get-AppxPackage " Microsoft.YourPhone" | Remove-AppxPackage
26652664 Get-AppxPackage " Microsoft.ZuneMusic" | Remove-AppxPackage
26662665 Get-AppxPackage " Microsoft.ZuneVideo" | Remove-AppxPackage
2666+ Get-AppxPackage " Microsoft.Advertising.Xaml" | Remove-AppxPackage # Dependency for microsoft.windowscommunicationsapps, Microsoft.BingWeather
26672667}
26682668
26692669# Install default Microsoft applications
26702670Function InstallMsftBloat {
26712671 Write-Output " Installing default Microsoft applications..."
26722672 Get-AppxPackage - AllUsers " Microsoft.3DBuilder" | ForEach-Object {Add-AppxPackage - DisableDevelopmentMode - Register " $ ( $_.InstallLocation ) \AppXManifest.xml" }
2673- Get-AppxPackage - AllUsers " Microsoft.Advertising.Xaml" | ForEach-Object {Add-AppxPackage - DisableDevelopmentMode - Register " $ ( $_.InstallLocation ) \AppXManifest.xml" }
2673+ Get-AppxPackage - AllUsers " Microsoft.Advertising.Xaml" | ForEach-Object {Add-AppxPackage - DisableDevelopmentMode - Register " $ ( $_.InstallLocation ) \AppXManifest.xml" } # Dependency for microsoft.windowscommunicationsapps, Microsoft.BingWeather
26742674 Get-AppxPackage - AllUsers " Microsoft.AppConnector" | ForEach-Object {Add-AppxPackage - DisableDevelopmentMode - Register " $ ( $_.InstallLocation ) \AppXManifest.xml" }
26752675 Get-AppxPackage - AllUsers " Microsoft.BingFinance" | ForEach-Object {Add-AppxPackage - DisableDevelopmentMode - Register " $ ( $_.InstallLocation ) \AppXManifest.xml" }
26762676 Get-AppxPackage - AllUsers " Microsoft.BingFoodAndDrink" | ForEach-Object {Add-AppxPackage - DisableDevelopmentMode - Register " $ ( $_.InstallLocation ) \AppXManifest.xml" }
0 commit comments