mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-05-20 02:05:34 -04:00
Fix an issue in detecting Office preview licenses in TSforge
This commit is contained in:
parent
b75ba72bc5
commit
830755f6b6
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
if ($filterPreview.Count -ne 0) {
|
||||||
$filteredConfigs = $filterPreview
|
$filteredConfigs = $filterPreview
|
||||||
|
|
|
@ -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) {
|
if ($filterPreview.Count -ne 0) {
|
||||||
$filteredConfigs = $filterPreview
|
$filteredConfigs = $filterPreview
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue