新增 HyperV 封包移除

This commit is contained in:
dragonflylee 2018-05-24 23:31:23 +08:00
parent 0e1bf11461
commit 803f737640
4 changed files with 49 additions and 4 deletions

View File

@ -29,4 +29,12 @@ Microsoft-Windows-OneDrive-Setup-WOW64-Package
;Microsoft-Windows-Internet-Browser-Package
;Cortana
;Microsoft-Windows-Cortana-Package
;Microsoft-Windows-Cortana-PAL-Desktop-Package
;Microsoft-Windows-Cortana-PAL-Desktop-Package
;Hyper
Microsoft-Hyper-V-ClientEdition-Package
Microsoft-Windows-HyperV-Guest-Package
Microsoft-Windows-HyperV-Guest-WOW64-Package
HyperV-Feature-Containers-Package
HyperV-Host-Compute-Interop-Package
HyperV-Host-Compute-PowerShell-Module-Package

View File

@ -22,4 +22,16 @@ Microsoft-Windows-DesktopFileExplorer-Package
;Microsoft-Windows-Internet-Browser-Package
;Cortana
;Microsoft-Windows-Cortana-Package
;Microsoft-Windows-Cortana-PAL-Desktop-Package
;Microsoft-Windows-Cortana-PAL-Desktop-Package
;Hyper
HyperV-Guest-Networking-SrIov-onecore-Package
Microsoft-Hyper-V-ClientEdition-Package
Microsoft-Windows-HyperV-Guest-Package
Microsoft-Windows-HyperV-Guest-WOW64-Package
HyperV-Guest-Networking-Synthetic-Package
HyperV-Compute-System-VmDirect-Package
HyperV-Feature-ApplicationGuard-Package
Microsoft-Windows-PAW-Feature-Package
Microsoft-Windows-OneCore-Containers-Opt-Package

View File

@ -24,4 +24,18 @@ Microsoft-Windows-DesktopFileExplorer-Package
;Cortana
;Microsoft-Windows-Cortana-Package
;Microsoft-Windows-Cortana-PAL-Desktop-Package
OpenSSH-Client-Package
OpenSSH-Client-Package
;Hyper
HyperV-Guest-Networking-SrIov-onecore-Package
Microsoft-Hyper-V-ClientEdition-Package
Microsoft-Windows-HyperV-Guest-Package
Microsoft-Windows-HyperV-Guest-WOW64-Package
HyperV-Compute-System-VmDirect-Package
HyperV-Feature-ApplicationGuard-Package
Microsoft-Hyper-V-Hypervisor-Package
Microsoft-Windows-PAW-Feature-Package
HyperV-VID-Package
Microsoft-Windows-HyperV-HypervisorPlatform-Package
Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform-Package
Microsoft-Windows-OneCore-Containers-Opt-Package

View File

@ -11,7 +11,18 @@ set NSudo="%~dp0Bin\%PROCESSOR_ARCHITECTURE%\NSudo.exe"
set "Dism=Dism.exe /NoRestart /LogLevel:1"
for %%i in (
Microsoft-Windows-Holographic-Desktop-Analog-WOW64-Package
HyperV-Guest-Networking-SrIov-onecore-Package
Microsoft-Hyper-V-ClientEdition-Package
Microsoft-Windows-HyperV-Guest-Package
Microsoft-Windows-HyperV-Guest-WOW64-Package
HyperV-Compute-System-VmDirect-Package
HyperV-Feature-ApplicationGuard-Package
Microsoft-Hyper-V-Hypervisor-Package
Microsoft-Windows-PAW-Feature-Package
HyperV-VID-Package
Microsoft-Windows-HyperV-HypervisorPlatform-Package
Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform-Package
Microsoft-Windows-OneCore-Containers-Opt-Package
) do call :RemoveComponent "%%i"
goto :Exit