CmdID / PowerShell / Cmdlets / Set
Set-OSLicenseInfo
Sets the Windows volume activation type. Windows Server PowerShell reference
From the Windows Server PowerShell reference 2 parameters Its page in the reference
Parameters
-ActivationTypeSpecifies the volume activation type.-AsJobRuns the command as a background job when you invoke it through an implicit-remoting wrapper.