Disable Shared Mailbox in Hybrid environment

While working on an automation for one of our clients, We have used Disable-RemoteMailbox command in hybrid environment to disable the user mailboxes as well as shared mailboxes. User mailbox disablement is replicating correctly after removing the license group and running Disable-RemoteMailbox command on exchange onpremise Server but Shared mailbox although being disabled at on-premise…

Shared Mailbox Creation

Sharing a script that we have written to create Shared mailboxes. You can customize it as per your needs. This script is a great example of using DSMOD/DSADD in powershell. It does plenty of things , many of these are dependent on the process used in the enviornment so this can act as a sample…