CmdID

CmdID / PowerShell / Cmdlets / Set

Set-WindowsProductKey

Sets the product key for the Windows image. Windows Server PowerShell reference

From the Windows Server PowerShell reference 7 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

7 in the Windows Server PowerShell reference
-LogLevel, -LLSpecifies the maximum output level shown in the logs.
-LogPath, -LPSpecifies the full path and file name to log to.
-PathSpecifies the full path to the root directory of the offline Windows image that you will service.
-ProductKeySpecifies the product key to use for the Windows image.
-ScratchDirectorySpecifies a temporary directory that will be used when extracting files for use during servicing.
-SystemDriveSpecifies the path to the location of the BootMgr files.
-WindowsDirectorySpecifies the path to the Windows directory relative to the image path.