From 96d80c486ba9f36145e4579d06555757a16038e0 Mon Sep 17 00:00:00 2001 From: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Date: Mon, 8 Jul 2024 22:14:40 +0200 Subject: [PATCH] Update Invoke-WPFMicrowin.ps1 (#2251) Distinguish tasks better --- functions/public/Invoke-WPFMicrowin.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/public/Invoke-WPFMicrowin.ps1 b/functions/public/Invoke-WPFMicrowin.ps1 index 922748d9..3d4f0a9d 100644 --- a/functions/public/Invoke-WPFMicrowin.ps1 +++ b/functions/public/Invoke-WPFMicrowin.ps1 @@ -171,13 +171,14 @@ public class PowerManagement { Remove-Features -keepDefender:$keepDefender Write-Host "Removing features complete!" - Write-Host "Removing Appx Bloat" if (!$keepPackages) { + Write-Host "Removing OS packages" Remove-Packages } if (!$keepProvisionedPackages) { + Write-Host "Removing Appx Bloat" Remove-ProvisionedPackages -keepSecurity:$keepDefender }