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 script is used to check the mailbox item count. If the count reaches or exceeds a certain number, an email will be sent as notification.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery