Forum Discussion

RBVnext's avatar
RBVnext
Copper Contributor
Oct 16, 2024

Exchange Decommissioning Set-Remotemailbox command

Hi all,

 

I have a situation where someone was with a hybrid Exchange Server configuration was using scripts to provision accounts with Set-RemoteMailbox. Testing was being done with the recipient management using the exchange management and noticed mailboxes are being provisioned and working as expected without even running their set-remotemailbox commands and are curious if this is even needed anymore.

 

So I guess my question is, at this stage where .\CleanupActiveDirectoryEMT.ps1 is the last thing to do, would set-remotemailbox still be necessary, and what would it be used for. I know usually you can just create an on-prem mailbox, synced and license, so I'm not sure if set-remotemailbox is required for new mailboxes or but I'm thinking it's for managing mailboxes that were previously migrated.

 

Thanks for any input.

1 Reply

  • The Set-RemoteMailbox cmdlet is no longer required for provisioning new mailboxes once the organization has fully transitioned to a cloud-based environment. Its primary function is limited to managing existing remote mailboxes while an on-premises Exchange server remains in operation.

     

    https://learn.microsoft.com/en-us/powershell/module/exchangepowershell/set-remotemailbox?view=exchange-ps

     

    https://learn.microsoft.com/en-us/exchange/decommission-on-premises-exchange