The script is available for download from https://gallery.technet.microsoft.com//How-to-count-the-messages-21cc4037. 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 shows how to change the number of rows for tiles on the Start screen in Windows 8.
By default, the number of rows for the tiles is fully dependent on the screen resolution or window size that fits on your Windows Screen. However, sometimes the user wants to display a specific number of rows of tiles on the Start Screen regardless of the screen size.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery