Automated Email Forwarding Monitoring and Report

Block a User from Sending Emails

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...
Automated Email Forwarding Monitoring and Report

Assign a Full Access Permission

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...
Automated Email Forwarding Monitoring and Report

Create a New Shared Mailbox

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”...
Automated Email Forwarding Monitoring and Report

Export Mailbox Statistics

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 {...