The script is available for download from https://gallery.technet.microsoft.com//How-to-update-properties-4cb49c72. 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 could be used to modify properties for a particular web part in a Site Collection in Microsoft SharePoint Server 2010.
In a real world, IT Administrators have to modify web part properties for different kinds of reasons. Since the web part which associated to a specific list could be contained in a lot of pages. It will be a heavy task if we want to find these pages manually, so the IT Administrators need a script to complete this task.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery