Changed $App to $Bloat on line 101

This commit is contained in:
Richard Newton 2018-10-14 00:10:26 -07:00 committed by GitHub
parent 9d3e8b8504
commit 43064ffbf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ Function DebloatBlacklist {
#"*Microsoft.WindowsStore*"
)
foreach ($Bloat in $Bloatware) {
Get-AppxPackage -Name $App | Remove-AppxPackage -ErrorAction SilentlyContinue
Get-AppxPackage -Name $Bloat| Remove-AppxPackage -ErrorAction SilentlyContinue
Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like $App | Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue
Write-Output "Trying to remove $Bloat."
}