w10install/wim/remove-apps.cmd
Michael H.G. Schmidt 59ea1f0f38 simplyfication
2022-12-27 18:44:09 +01:00

11 lines
217 B
Batchfile

@echo off
set IMAGE=c:\TEMP\IMAGE
FOR /F %%P in (apps-to-remove.csv) do (
echo removing APPX package [ Microsoft.%%P ]
dism /Image:%IMAGE% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.%%P
)