Transport Protocol log location


%ExchangeInstallPath%TransportRoles\Logs\FrontEnd\ProtocolLog\SmtpReceive

Check Mail flow queue Back Pressure

 

Exchange Shell - 

[xml]$bp=Get-ExchangeDiagnosticInfo [-Server servername01 ] -Process EdgeTransport -Component ResourceThrottling; $bp.Diagnostics.Components.ResourceThrottling.ResourceTracker.ResourceMeter


[xml]$bp=Get-ExchangeDiagnosticInfo -Process EdgeTransport -Component ResourceThrottling; $bp.Diagnostics.Components.ResourceThrottling.ResourceTracker.ResourceMeter

BULK Get Calendar permission of multiple mailbox

$i = C:\New_folder\room.txt


foreach ($room in $i){Get-MailboxFolderPermission -Identity ($room + ':\Calendar') | select-object {$room},User}

Add custom alias to M365 group

Get-UnifiedGroup groupname@xyz.com | fl emailaddresses


Set-UnifiedGroup –Identity groupname@xyz.com –EmailAddresses @{Add="groupname@xyz.mail.onmicrosoft.com"}

Force create room mailbox on on-prem hybrid setup

 Enable-mailuser  -identity Room01 -ExternalEmailAddress Room01@xyz.mail.onmicrosoft.com


Enable-RemoteMailbox -identity Room01 -RemoteRoutingAddress Room01@xyz.mail.onmicrosoft.com

 

Set-RemoteMailbox -Identity Room01 -Type Room