Powershell Scripts Scripts Basic 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”...
Powershell Scripts Scripts MS365 Exchange Online Export Mailbox Statistics Get mailbox statistics and export them to a CSV file. Use the Connect-ExchangeOnline function to use this code. Get-Mailbox -RecipientTypeDetails UserMailbox | ForEach-Object {...
Powershell Scripts Scripts MS365 Exchange Online List All Mailboxes Retrieve a list of all mailboxes in your tenant. Use the Connect-ExchangeOnline function to use this code. Get-Mailbox -RecipientTypeDetails UserMailbox | Select-Object DisplayName,...
Powershell Scripts Scripts MS365 Connect to Exchange Online This script establishes a connection to Exchange Online. $UserCredential = Get-CredentialConnect-ExchangeOnline -Credential...