UpgradeEditionWithProductKeyMethod method of the MDM_WindowsLicensing class

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