simplyfication
This commit is contained in:
parent
314f3c49c4
commit
59ea1f0f38
@ -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
|
|
||||||
|
|
||||||
|
@ -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
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user