w10install/wim/remove-packages.cmd

11 lines
183 B
Batchfile
Raw Normal View History

2022-12-27 17:15:05 +01:00
@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"
)