Window Server 2012 R2 Powershell Product Key

Champion

Global Moderator
Joined
Dec 19, 2018
Messages
65
Reaction score
4
Hi so I am looking for an Command that works on 2012 r2 that gets the product key.
 

TechDan

Administrator
Joined
Nov 28, 2018
Messages
199
Reaction score
27
I tried to answer this last night but it wasn't working...it looks like you should be able to use this command.

https://pastebin.com/kJ2x4WcT

Still couldn't paste the command here for some reason.
 

TechDan

Administrator
Joined
Nov 28, 2018
Messages
199
Reaction score
27
It is a powershell prompt you are trying to do this in correct? You do not have GUI?