Please find below the script given to print following report from Exchange 2007
1. Number of mailboxes
2. Display Name
3. Mailbox Size
4. Number of items per mailbox
5. Name of the server
Please replace only <exch-servername> with host name of Exchange 2007 database server
Pl. run command available in attached file on exchange management shell