We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e2fbef + 7659202 commit b16530bCopy full SHA for b16530b
scripts/RemoveDefaultApps.ps1
@@ -12,7 +12,7 @@ function removeApp {
12
Param ([string]$appName)
13
Write-Output "Trying to remove $appName"
14
Get-AppxPackage $appName -AllUsers | Remove-AppxPackage
15
- Get-AppXProvisionedPackage -Online | Where DisplayNam -like $appName | Remove-AppxProvisionedPackage -Online
+ Get-AppXProvisionedPackage -Online | Where DisplayName -like $appName | Remove-AppxProvisionedPackage -Online
16
}
17
18
$applicationList = @(
@@ -61,4 +61,4 @@ $applicationList = @(
61
62
foreach ($app in $applicationList) {
63
removeApp $app
64
-}
+}
0 commit comments