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

11 lines
183 B
Batchfile

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