
$data = $wmi.GetBinaryValue($hklm,"$path\$subkey1\$subkey2\$subke圓","digitalproductid") $productName = $wmi.GetStringValue($hklm,"$path\$subkey1\$subkey2\$subke圓","productname") $temp = "" | select ComputerName,ProductName,ProductKey $subkeys4 = $wmi.EnumValues($hklm,"$path\$subkey1\$subkey2\$subke圓") $subkeys3 = $wmi.EnumKey($hklm,"$path\$subkey1\$subkey2") $subkeys2 = $wmi.EnumKey($hklm,"$path\$subkey1") $wmi = "\\$computer\root\default:stdRegProv" Type the script in the Notepad as stated in the text below.Before starting the command line, open Notepad.To find the product key using PowerShell, follow the steps mentioned below: The steps of the method are similar to the CMD process. Powershell is another method through which you can find the Microsoft Office 2013 product key. Microsoft Office 2013 Product Key Powershell Microsoft Office 2013 (32-bit) (Win64-bit) : cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /dstatusģ.Microsoft Office 2013 (32-bit) (Win32-bit) : cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /dstatus.If you want the product key for the 32-bit Office version, write the following commands:


If the product key is not locally stored in your system, this method will not work. However, the method will only work if the last 5 digits of your Microsoft Office 2013 product key is stored on your computer. You can simply write some commands according to your needs to extract the product key. Using CMD to Find Microsoft Product KeyĬMD is one of the other methods that will assist you in finding the Office 2013 product key.
