From 307980a7efcec8025b686b95d1f863d0c4b99724 Mon Sep 17 00:00:00 2001 From: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Date: Fri, 16 Aug 2024 07:12:44 +0200 Subject: [PATCH] Fixed VMware network driver issues (#2567) --- functions/private/Invoke-WinUtilMicroWin-Helper.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/private/Invoke-WinUtilMicroWin-Helper.ps1 b/functions/private/Invoke-WinUtilMicroWin-Helper.ps1 index 3f473d859f..8dfd1af071 100644 --- a/functions/private/Invoke-WinUtilMicroWin-Helper.ps1 +++ b/functions/private/Invoke-WinUtilMicroWin-Helper.ps1 @@ -101,7 +101,9 @@ function Remove-Packages { $_ -NotLike "*DesktopAppInstaller*" -AND $_ -NotLike "*WebMediaExtensions*" -AND $_ -NotLike "*WMIC*" -AND - $_ -NotLike "*UI.XaML*" + $_ -NotLike "*UI.XaML*" -AND + $_ -NotLike "*Ethernet*" -AND + $_ -NotLike "*Wifi*" } foreach ($pkg in $pkglist) { @@ -143,7 +145,6 @@ function Remove-ProvisionedPackages() { $_.PackageName -NotLike "*LanguageFeatures*" -and $_.PackageName -NotLike "*Notepad*" -and $_.PackageName -NotLike "*Printing*" -and - $_.PackageName -NotLike "*Wifi*" -and $_.PackageName -NotLike "*Foundation*" -and $_.PackageName -NotLike "*YourPhone*" -and $_.PackageName -NotLike "*Xbox*" -and