Fix an issue in detecting Office preview licenses in TSforge

This commit is contained in:
WindowsAddict 2025-05-18 18:11:04 +05:30
parent b75ba72bc5
commit 830755f6b6
2 changed files with 2 additions and 2 deletions

View File

@ -10570,7 +10570,7 @@ function Office-ActID {
}
}
$filterPreview = $filteredConfigs | Where-Object { $_.ProductDescription -notmatch 'preview' }
$filterPreview = $filteredConfigs | Where-Object { $_.ProductDescription -notmatch 'preview|c2r' }
if ($filterPreview.Count -ne 0) {
$filteredConfigs = $filterPreview

View File

@ -8189,7 +8189,7 @@ function Office-ActID {
}
}
$filterPreview = $filteredConfigs | Where-Object { $_.ProductDescription -notmatch 'preview' }
$filterPreview = $filteredConfigs | Where-Object { $_.ProductDescription -notmatch 'preview|c2r' }
if ($filterPreview.Count -ne 0) {
$filteredConfigs = $filterPreview