Use PowerShell OSLicense Module to manage Windows Activation