Fix typo
This commit is contained in:
@@ -12,7 +12,7 @@ function removeApp {
|
|||||||
Param ([string]$appName)
|
Param ([string]$appName)
|
||||||
Write-Output "Trying to remove $appName"
|
Write-Output "Trying to remove $appName"
|
||||||
Get-AppxPackage $appName -AllUsers | Remove-AppxPackage
|
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 = @(
|
$applicationList = @(
|
||||||
@@ -61,4 +61,4 @@ $applicationList = @(
|
|||||||
|
|
||||||
foreach ($app in $applicationList) {
|
foreach ($app in $applicationList) {
|
||||||
removeApp $app
|
removeApp $app
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user