This is the built-in help made by Microsoft for the command 'Set-WindowsProductKey', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Sets the product key for the Windows image.
Set-WindowsProductKey [-LogLevel <LogLevel>] [-LogPath <String>] [-ScratchDirectory <String>] [-SystemDrive <String>] [-WindowsDirectory
<String>] -Path <String> -ProductKey <String> [<CommonParameters>]
The Set-WindowsProductKey cmdlet sets the product key for the current Windows Edition in the specified image.
<
Online Version: http://go.microsoft.com/fwlink/?LinkId=215293
Deployment Image Servicing and Management (DISM) Cmdlets
Get-WindowsEdition
Set-WindowsEdition
<
EXAMPLE 1
PS C:\> Set-WindowsProductKey –Path c:\offline –ProductKey 12345-12345-12345-12345-12345
This command sets the product key on the Windows image that is mounted to c:\offline.