The following is a simple script to generate a mailbox size report CSV for a set of email addresses. The full function and explanation follows.
In the last part we wrote out the Powershell to handle the parameters (including some crude validation) and for the skeleton of the rest of the script. In the next few parts we’ll define the functions the script will use. The full script can be found here.