w10install/image/remove-apps.cmd

11 lines
217 B
Batchfile
Raw Normal View History

2022-12-27 16:09:26 +01:00
@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
)