@@ -146,7 +146,41 @@ $packages = & 'dism' '/English' "/image:$($ScratchDisk)\scratchdir" '/Get-Provis
146
146
$matches [1 ]
147
147
}
148
148
}
149
- $packagePrefixes = ' Clipchamp.Clipchamp_' , ' Microsoft.BingNews_' , ' Microsoft.BingWeather_' , ' Microsoft.GamingApp_' , ' Microsoft.GetHelp_' , ' Microsoft.Getstarted_' , ' Microsoft.MicrosoftOfficeHub_' , ' Microsoft.MicrosoftSolitaireCollection_' , ' Microsoft.People_' , ' Microsoft.PowerAutomateDesktop_' , ' Microsoft.Todos_' , ' Microsoft.WindowsAlarms_' , ' microsoft.windowscommunicationsapps_' , ' Microsoft.WindowsFeedbackHub_' , ' Microsoft.WindowsMaps_' , ' Microsoft.WindowsSoundRecorder_' , ' Microsoft.Xbox.TCUI_' , ' Microsoft.XboxGamingOverlay_' , ' Microsoft.XboxGameOverlay_' , ' Microsoft.XboxSpeechToTextOverlay_' , ' Microsoft.YourPhone_' , ' Microsoft.ZuneMusic_' , ' Microsoft.ZuneVideo_' , ' MicrosoftCorporationII.MicrosoftFamily_' , ' MicrosoftCorporationII.QuickAssist_' , ' MicrosoftTeams_' , ' Microsoft.549981C3F5F10_'
149
+ $packagePrefixes =
150
+ ' Clipchamp.Clipchamp_' ,
151
+ ' Microsoft.BingNews_' ,
152
+ ' Microsoft.BingSearch_' ,
153
+ ' Microsoft.BingWeather_' ,
154
+ ' Microsoft.GamingApp_' ,
155
+ ' Microsoft.GetHelp_' ,
156
+ ' Microsoft.Getstarted_' ,
157
+ ' Microsoft.MicrosoftOfficeHub_' ,
158
+ ' Microsoft.MicrosoftSolitaireCollection_' ,
159
+ ' Microsoft.OutlookForWindows_' ,
160
+ ' Microsoft.Paint_' ,
161
+ ' Microsoft.People_' ,
162
+ ' Microsoft.PowerAutomateDesktop_' ,
163
+ ' Microsoft.MicrosoftStickyNotes_' ,
164
+ ' Microsoft.Todos_' ,
165
+ ' Microsoft.WindowsAlarms_' ,
166
+ ' Microsoft.WindowsCalculator_' ,
167
+ ' Microsoft.WindowsCamera_' ,
168
+ ' microsoft.windowscommunicationsapps_' ,
169
+ ' Microsoft.WindowsFeedbackHub_' ,
170
+ ' Microsoft.WindowsMaps_' ,
171
+ ' Microsoft.WindowsSoundRecorder_' ,
172
+ ' Microsoft.Xbox.TCUI_' ,
173
+ ' Microsoft.XboxGamingOverlay_' ,
174
+ ' Microsoft.XboxGameOverlay_' ,
175
+ ' Microsoft.XboxSpeechToTextOverlay_' ,
176
+ ' Microsoft.YourPhone_' ,
177
+ ' Microsoft.ZuneMusic_' ,
178
+ ' Microsoft.ZuneVideo_' ,
179
+ ' MicrosoftCorporationII.MicrosoftFamily_' ,
180
+ ' MicrosoftCorporationII.QuickAssist_' ,
181
+ ' MicrosoftTeams_' ,
182
+ ' Microsoft.549981C3F5F10_' ,
183
+ ' MSTeams_'
150
184
151
185
$packagesToRemove = $packages | Where-Object {
152
186
$packageName = $_
0 commit comments