The two most common operations now have clean, key-free commands (no $env:KMS_AUTO prefix) that delegate to kms-bootstrap.ps1: iwr .../scripts/activate-windows.ps1 | iex iwr .../scripts/activate-office.ps1 | iex activate-office is Office-only (Project/Visio excluded — bundling them would prompt to *install* products you don't have, given the new install-offer). Quick Start now leads with these two; the interactive bootstrap stays as the "activate everything" option. Dropped the redundant KMS_AUTO combo cards. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
16 lines
839 B
PowerShell
16 lines
839 B
PowerShell
# activate-office.ps1 - one-shot Office KMS activation.
|
|
#
|
|
# The common case: activate an installed Volume License Office against the public
|
|
# KMS host. Thin wrapper that runs kms-bootstrap.ps1 in Office-only mode (finds
|
|
# ospp.vbs, installs the right GVLK if needed, then activates; if no VL Office is
|
|
# present it offers to install the latest VL edition). Does NOT touch Project/Visio.
|
|
#
|
|
# Usage (PowerShell as Administrator):
|
|
# iwr -UseBasicParsing https://kms.viktorbarzin.me/scripts/activate-office.ps1 | iex
|
|
#
|
|
# Source: https://kms.viktorbarzin.me/scripts/activate-office.ps1
|
|
# Licence: MIT, no warranty, KMS activates Volume License SKUs only.
|
|
|
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
|
$env:KMS_AUTO = 'office'
|
|
iwr -UseBasicParsing https://kms.viktorbarzin.me/scripts/kms-bootstrap.ps1 | iex
|