w10install/wim/remove-apps.cmd
Michael H.G. Schmidt 00bdadfb53 testing...
2022-12-28 18:52:04 +01:00

14 lines
230 B
Batchfile

@echo off
exit /b
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
)