14 lines
230 B
Batchfile
14 lines
230 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
|
|
|
|
)
|
|
|