This VBA sample illustrates how to prompt a warning message when Outlook is starting if the PST file size reaches the limit. It can be run on Outlook 2007 and 2010.
ITPros find a lot of issues caused by the large PST file. This VBA can help ITPros to reduce their workload and prevent potential Outlook issues.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery