1

Although it's a simple matter to configure Active Directory activation on Windows Server 2016 once the VA role is installed using the GUI, I need a way to configure this from the command line or preferably from powershell, however, I can't seem to find any powershell modules for this role.

Has anyone done this before?

PS. I am not looking to set up a KMS host using slmgr.vbs. I need to install a KMS key for active directory activation as you can do in the Volume Activation Tools GUI.

Ashigore
  • 131
  • 7
  • slmgr.vbs is also used to manage MAK activation (at least on previous version, not sure on 2016) – JFL Mar 10 '17 at 08:57
  • @JFL I know, thanks, I'm not looking to do MAK activation, I'm looking to install a KMS key for active directory activation, not set up a KMS host. I'll clarify the question. – Ashigore Mar 10 '17 at 08:59
  • if using a volume licensing media for installation, it should be configured for this out of the box. Isn't it the case? – JFL Mar 10 '17 at 09:59

1 Answers1

0

I eventually found out how you can do it, still using slmgr.vbs:

slmgr.vbs /ad-activation-online <kms key>
Ashigore
  • 131
  • 7