simplyfication

This commit is contained in:
Michael H.G. Schmidt 2022-12-27 18:44:09 +01:00
parent 314f3c49c4
commit 59ea1f0f38
2 changed files with 0 additions and 18 deletions

View File

@ -1,9 +1,6 @@
@echo off @echo off
set IMAGE=c:\TEMP\IMAGE set IMAGE=c:\TEMP\IMAGE
echo exporting APPS list BEFORE doing any changes ...
dism /Image:%IMAGE% /Get-ProvisionedAppxPackages 1>Apps-BEFORE.txt
FOR /F %%P in (apps-to-remove.csv) do ( FOR /F %%P in (apps-to-remove.csv) do (
echo removing APPX package [ Microsoft.%%P ] echo removing APPX package [ Microsoft.%%P ]
@ -11,9 +8,3 @@ FOR /F %%P in (apps-to-remove.csv) do (
) )
echo exporting remaining APPS list ...
dism /Image:%IMAGE% /Get-ProvisionedAppxPackages 1>Apps-AFTER.txt
rem showing packages ...
dir Apps*.txt

View File

@ -1,9 +1,6 @@
@echo off @echo off
set IMAGE=c:\TEMP\IMAGE set IMAGE=c:\TEMP\IMAGE
echo exporting PACKAGES list BEFORE doing any changes ...
dism /Image:%IMAGE% /Get-Packages 1>Packages-BEFORE.txt
FOR /F %%P in (packages-to-remove.csv) do ( FOR /F %%P in (packages-to-remove.csv) do (
echo removing package [ %%P ] echo removing package [ %%P ]
@ -11,9 +8,3 @@ FOR /F %%P in (packages-to-remove.csv) do (
) )
echo exporting remaining PACKAGES list ...
dism /Image:%IMAGE% /Get-Packages 1>Packages-AFTER.txt
rem showing packages ...
dir Packages*.txt