Add example: Windows Server 2025 GEN1 platform image creation for Azure Stack Hub#711
Merged
troettinger merged 1 commit intoMay 18, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new example under
Support/create-ws2025-image-from-azure/that walks Hub operators through downloading a Windows Server 2025 Datacenter GEN1 VHD from the Azure Marketplace and registering it as a platform image on Azure Stack Hub. This can be useful, as there is no Windows Server 2025 Marketplace image available for syndication from Azure marketplace for Azure Stack Hub.What's included
Example_WS2025-create-image-from-Azure.ps1— end-to-end script:-gen2,-upgrade, andazure-edition).Add-AzsPlatformImage) and verifies.Supports
-CleanAzModules,-ClearAzCliAccount, and-AzureLocationswitches; destructive cleanup is off by default._Pre-req_Install_AzCLI.ps1— installs Azure CLI on Windows and adds it to PATH. Enforces#Requires -RunAsAdministratorand TLS 1.2.README.md— workflow diagram, prerequisites, parameter reference, optional-switch reference, and a detailed write-up of VM Licensing & Billing (LicenseType) vs Guest OS Activation (KMS) for WS2025 on Hub, including the supportedLicenseType× activation-method matrix and common conflations.Notes for reviewers
Connect-AzAccount -Credential), and the Hub admin endpoint certificate must be trusted on the workstation.Support/.