w10install/image/remove-apps.cmd
Michael H.G. Schmidt 9ab9c735a4 simplification
2023-01-04 15:20:47 +01:00

11 lines
228 B
Batchfile

@echo off
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 1>nul 2>&1
)