fix error

This commit is contained in:
Chris Titus Tech 2024-08-13 12:09:47 -05:00
parent 35dfd847ab
commit bf518522f8

View File

@ -145,7 +145,6 @@ function Remove-ProvisionedPackages() {
$_.PackageName -NotLike "*Foundation*"
}
if ($?) {
$appxProvisionedPackages = $appxProvisionedPackages | Where-Object { $_.PackageName -NotLike "*SecHealthUI*" }
$counter = 0
foreach ($appx in $appxProvisionedPackages) {