mirror of
https://github.com/Sycnex/Windows10Debloater.git
synced 2024-11-24 11:45:29 +00:00
Fix variable name in Bloatware foreach
There's no variable named $Debloat. Looks like this might be a typo.
This commit is contained in:
parent
fac6c2af80
commit
4fca7090f6
@ -118,7 +118,7 @@ Function DebloatBlacklist {
|
||||
)
|
||||
foreach ($Bloat in $Bloatware) {
|
||||
Get-AppxPackage -Name $Bloat| Remove-AppxPackage -ErrorAction SilentlyContinue
|
||||
Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like $Debloat | Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue
|
||||
Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like $Bloat | Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue
|
||||
Write-Output "Trying to remove $Bloat."
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user