Powershell Scripts Scripts MS365 Exchange Online Premium plan Membership Required You must be a Premium plan member to access this content.Join NowAlready a member? Log in...
Powershell Scripts Scripts Basic Block a User from Sending Emails Disable outbound email for a specific user. Use the Connect-ExchangeOnline function to use this code. Set-Mailbox -Identity “user@yourdomain.com” -AccountDisabled...
Powershell Scripts Scripts Basic Assign a Full Access Permission Grant another user full access to a specific mailbox. Use the Connect-ExchangeOnline function to use this code. Add-MailboxPermission -Identity “user@yourdomain.com” -User...
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 {...