w10install/wim/remove-apps.cmd
Michael H.G. Schmidt e6bb70e919 testing ...
2022-12-28 22:38:06 +01:00

12 lines
226 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
)