Create a New Shared Mailbox

Get mailbox statistics and export them to a CSV file. Use the Connect-ExchangeOnline function to use this code.

New-Mailbox -Shared -Name "Support" -DisplayName "Support Team" -PrimarySmtpAddress support@yourdomain.com