Get-Mailbox -Database <DB-Name> > c:\Mailboxes.csv
The result is also written to a file.
H@ppy H@cking :)