Script Download: The script is available for download in Microsoft Script Browser for Windows PowerShell ISE. You need to install the Script Browser application first, and search for the script sample title.
This PowerShell script sample shows how to clear the Run box history in Windows.
When we run a application through Win + R, there will be a record in Run box. However if there are too many records, it will be a little terrible. This script is to delete some or all of the records in Run box.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery