w10install/image/remove-apps.cmd
Michael H.G. Schmidt c879f10d4b testing ...
2022-12-29 10:49:17 +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
)