Starting in Cumulative Update 21 for Exchange Server 2013 and Cumulative Update 10 for Exchange Server 2016 in an on-premises Exchange Server environment, you can directly create or modify a remote shared mailbox by using the new parameter -shared with the following cmdlets:
- Enable-RemoteMailbox: [-Identity user] [-Shared] [-RemoteRoutingAddress user@domain]
- New-RemoteMailbox: [-Shared] [-Name remoteMailboxName]
- Set-RemoteMailbox: [-Name user] [-Type Shared]