kms-website: ASCII-only comment (em-dash -> colon)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Viktor Barzin 2026-06-01 10:18:43 +00:00
parent f1440dfcf4
commit 01803ab812

View file

@ -174,7 +174,7 @@ function Activate-Ospp([string]$label) {
if ($st -match '---LICENSED---') { OK "$label already licensed - host set, skipping /act"; return }
# Not licensed: install the matching GVLK for each installed VL product of
# this family (Office = anything that isn't Project/Visio), fetched from the list.
# Match this family's installed VL products. NB: avoid `switch ($label)` here
# Match this family's installed VL products. NB: avoid `switch ($label)` here:
# inside a switch, $_ is the switch input (the label), not the pipeline item.
$rels = Get-OfficeReleaseIds | Where-Object {
($label -eq 'Project' -and $_ -match 'Project') -or