From 76592022b3b8e9e199fe0cd9926d630adf003ee4 Mon Sep 17 00:00:00 2001 From: Ben Dixon Date: Wed, 12 Jun 2019 08:22:40 +0100 Subject: [PATCH] Fix typo --- scripts/RemoveDefaultApps.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/RemoveDefaultApps.ps1 b/scripts/RemoveDefaultApps.ps1 index c24a0734..1eebf34e 100644 --- a/scripts/RemoveDefaultApps.ps1 +++ b/scripts/RemoveDefaultApps.ps1 @@ -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 = @( @@ -61,4 +61,4 @@ $applicationList = @( foreach ($app in $applicationList) { removeApp $app -} \ No newline at end of file +}