Skip to content

Commit b16530b

Browse files
authored
Merge pull request #82 from bmdixon/patch-1
Fix typo
2 parents 1e2fbef + 7659202 commit b16530b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/RemoveDefaultApps.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function removeApp {
1212
Param ([string]$appName)
1313
Write-Output "Trying to remove $appName"
1414
Get-AppxPackage $appName -AllUsers | Remove-AppxPackage
15-
Get-AppXProvisionedPackage -Online | Where DisplayNam -like $appName | Remove-AppxProvisionedPackage -Online
15+
Get-AppXProvisionedPackage -Online | Where DisplayName -like $appName | Remove-AppxProvisionedPackage -Online
1616
}
1717

1818
$applicationList = @(
@@ -61,4 +61,4 @@ $applicationList = @(
6161

6262
foreach ($app in $applicationList) {
6363
removeApp $app
64-
}
64+
}

0 commit comments

Comments
 (0)