mirror of
https://github.com/Sycnex/Windows10Debloater.git
synced 2024-11-15 12:13:13 +00:00
Merge pull request #92 from robert-smith/patch-1
Fix variable name in Bloatware foreach
This commit is contained in:
commit
60a73a3aa9
@ -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