Knowing your Windows product key can be essential when you later need to restore your computer from a backup. Here is a simple one-liner to provide you with your product key information:

(Get-WmiObject -Class SoftwareLicensingService).OA3xOriginalProductKey

Twitter This Tip! ReTweet this Tip!

Anonymous