CmdID

CmdID / PowerShell / Cmdlets / Invoke

Invoke-OSLicense

Performs a selected Windows operating system licensing operation. Windows Server PowerShell reference

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

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

Parameters

16 in the Windows Server PowerShell reference
-ActivateOfflineSpecifies the activation ID or offline installation ID of the product to activate offline.
-ActivateOnlineSelects online activation.
-ActivationIDSpecifies the activation ID of a licensing product for online activation or product-key removal.
-AsJobRuns the command as a background job when you invoke the module through an implicit-remoting wrapper.
-ClearProductKeyFromRegistrySelects the operation that removes the product key from the registry.
-ConfirmationIDSpecifies the confirmation ID to deposit for offline activation.
-ILIDSpecifies the installation license ID of the token-based license to remove.
-ILvIDSpecifies the version ID of the token-based license to remove.
-InstallLicenseFileSpecifies the path of an .xrm-ms license file to install.
-InstallProductKeySpecifies the product key to install.
-RearmSelects a rearm operation.
-RearmIDSpecifies an activation ID for a licensing SKU or an application ID for an application-level rearm.
-ReinstallSystemLicensesSelects the operation that reinstalls .xrm-ms files from the Windows system licensing-token and OEM directories.
-TokenCertThumbprintSpecifies the thumbprint of a certificate in the local computer certificate store for token-based activation.
-TokenPINSpecifies the optional PIN for token-based activation.
-UninstallProductKeySelects the operation that uninstalls a product key from a licensing product.