Compile Winutil

This commit is contained in:
ChrisTitusTech 2024-07-08 20:15:04 +00:00 committed by github-actions[bot]
parent 96d80c486b
commit 6aaeb09e73

View File

@ -4335,13 +4335,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
}