Submitted By: vinoddadhe
Exports mailbox information to a comma-separated values (CSV) file named C:\Test.csv.
get-mailbox | export-csv c:\test.csv