Skip to content

Commit

Permalink
Merge pull request #82 from bmdixon/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
gep13 authored Jun 12, 2019
2 parents 1e2fbef + 7659202 commit b16530b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/RemoveDefaultApps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function removeApp {
Param ([string]$appName)
Write-Output "Trying to remove $appName"
Get-AppxPackage $appName -AllUsers | Remove-AppxPackage
Get-AppXProvisionedPackage -Online | Where DisplayNam -like $appName | Remove-AppxProvisionedPackage -Online
Get-AppXProvisionedPackage -Online | Where DisplayName -like $appName | Remove-AppxProvisionedPackage -Online
}

$applicationList = @(
Expand Down Expand Up @@ -61,4 +61,4 @@ $applicationList = @(

foreach ($app in $applicationList) {
removeApp $app
}
}

0 comments on commit b16530b

Please sign in to comment.