CmdID / PowerShell / Cmdlets / Invoke
Invoke-KmsLicense
Clears selected Key Management Service (KMS) configuration overrides. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-AsJobRuns the command as a background job when you invoke it through an implicit-remoting wrapper.-ClearDomainClears the KMS client DNS lookup domain override by calling the ClearKeyManagementServiceLookupDomain method of the local software licensing service.-ClearListeningPortClears the KMS host listening-port override by calling the ClearKeyManagementServiceListeningPort method of the local software licensing service.-ClearPortClears the manually configured KMS client port override by calling the ClearKeyManagementServicePort method of the local software licensing service.-ClearServerClears the manually configured KMS client host name by calling the ClearKeyManagementServiceMachine method of the local software licensing service.