![]() ![]() You must save the file with the ‘.ps1’ extension on the desktop.$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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |