w10install/image/remove-apps.cmd
2023-02-20 07:56:50 +01:00

11 lines
239 B
Batchfile

@echo off
set IMAGE=%SystemDrive%\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
)