你好,
请以管理员权限打开PowerShell,然后输入以下命令:
$(foreach ($entry in (Get-EventLog -Logname "Key Management Service")) {$entry.ReplacementStrings[3]}) | sort-object -Unique
或者你也可以下载VMAT工具来管理KMS服务器。关于VMAT的更多信息,你可以参考下面的链接:
https://technet.microsoft.com/zh-cn/library/hh824953.aspx?f=255&MSPPError=-2147217396
下载地址:
https://www.microsoft.com/zh-cn/download/details.aspx?id=30652
Best Regards,
Frank
Please remember to mark the replies as answers if they help and
unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.