UpgradeEditionWithProductKeyMethod method of the MDM_WindowsLicensing class

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Enters a product key for an edition upgrade of Windows 10 desktop devices. See also, UpgradeEditionWithProductKey.

Syntax

uint32 UpgradeEditionWithProductKeyMethod(
  [in] string param
);

Parameters

param [in]

The product key.

Requirements

Requirement Value
Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
None supported
Namespace
Root\cimv2\mdm\dmmap
MOF
DMWmiBridgeProv.mof
DLL
DMWmiBridgeProv.dll

See also

MDM_WindowsLicensing

Using PowerShell scripting with the WMI Bridge Provider