Saturday, July 27, 2024

Disable POP3, IMAP and OWA for all Room Mailboxes

This could be performed via the following powershell:

$AllMailBoxes = Get-mailbox -resultsize unlimited | where {$_.RecipientTypeDetails -like "RoomMailbox"}

foreach ($mailbox in $AllMailBoxes)
{
Write-Host "Disable now features for:"$mailbox.Name -foregroundcolor yellow
Set-CASMailbox -Identity:$mailbox.Alias -OWAEnabled:$false
Set-CASMailbox -Identity:$mailbox.Alias -POPEnabled:$false
Set-CASMailbox -Identity:$mailbox.Alias -ImapEnabled:$false
}

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

35FollowersFollow
- Advertisement -

Latest Articles