The script is available for download from http://gallery.technet.microsoft.com/How-to-input-or-change-849d1053. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This script sample shows how to input or change Office 2013 product key in Windows 8.
Sometimes due to some error, people cannot input or change their Office product key. This script can solve this problem.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery