To produce a report of MS Office product keys with machine names,this script will work for all versions of Office which is installed on the particular Device .
NOTE:
The Output Will be Generated in the file and The file will be stored In the Given path and Given File name.
key="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" # Give your new Product key which is valuable to activate.
save_path="yyyyy" #Give your the output file is stored path
file_name ="zzz" #Give your Output file name
Run the script as system user
Comments