mirror of
https://github.com/Sycnex/Windows10Debloater.git
synced 2026-08-13 06:04:45 -04: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) {
|
foreach ($Bloat in $Bloatware) {
|
||||||
Get-AppxPackage -Name $Bloat| Remove-AppxPackage -ErrorAction SilentlyContinue
|
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."
|
Write-Output "Trying to remove $Bloat."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user