The script is available for download from https://gallery.technet.microsoft.com//Get-the-frequency-that-a-f400603a. 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 PowerShell script will check the frequency of all the reports visited on the report manager during the latest week, latest month and latest year.
You can use this script for reference when you want to know the frequency of reports visited.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery