2022-12-27 16:09:26 +01:00
|
|
|
@echo off
|
2023-02-20 07:56:50 +01:00
|
|
|
set IMAGE=%SystemDrive%\TEMP\IMAGE
|
2022-12-27 16:09:26 +01:00
|
|
|
|
|
|
|
FOR /F %%P in (apps-to-remove.csv) do (
|
|
|
|
|
|
|
|
echo removing APPX package [ Microsoft.%%P ]
|
2023-01-04 15:20:47 +01:00
|
|
|
dism /Image:%IMAGE% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.%%P 1>nul 2>&1
|
2022-12-27 16:09:26 +01:00
|
|
|
|
|
|
|
)
|
|
|
|
|