Avatar of llarava
llarava
Flag for Afghanistan

asked on 

Exchange move disabled mailboxes - Powershell / Set a limit to prevent disabled mbx to be enabled on a specific server

I am trying to figure out a way to move the disabled mailboxes from the server/database that have been disabled to server 307 database-03. Maybe via powershell and schedule task? Anyone has any suggestions on how to get this accomplished?  

We have a DAG so the databases are active passive in multiple servers, I am guessing the PS should be able to find out if the mailbox is running from the active DB?
Also is there anyway to set a limit on all mailboxes on server 307 (they are disabled) so that if a user gets re-enabled, they won’t be using this server 307 as a “production” server. How can this be accomplished?
ExchangePowershellEmail Servers

Avatar of undefined
Last Comment
Jian An Lim

8/22/2022 - Mon