mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -06:00
Compile Winutil
This commit is contained in:
parent
96d80c486b
commit
6aaeb09e73
@ -4335,13 +4335,14 @@ public class PowerManagement {
|
|||||||
Remove-Features -keepDefender:$keepDefender
|
Remove-Features -keepDefender:$keepDefender
|
||||||
Write-Host "Removing features complete!"
|
Write-Host "Removing features complete!"
|
||||||
|
|
||||||
Write-Host "Removing Appx Bloat"
|
|
||||||
if (!$keepPackages)
|
if (!$keepPackages)
|
||||||
{
|
{
|
||||||
|
Write-Host "Removing OS packages"
|
||||||
Remove-Packages
|
Remove-Packages
|
||||||
}
|
}
|
||||||
if (!$keepProvisionedPackages)
|
if (!$keepProvisionedPackages)
|
||||||
{
|
{
|
||||||
|
Write-Host "Removing Appx Bloat"
|
||||||
Remove-ProvisionedPackages -keepSecurity:$keepDefender
|
Remove-ProvisionedPackages -keepSecurity:$keepDefender
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user