Some time you may have to activate a group of DBs on a server, then you have 2 option to perform this task, 1 is from ECP but it will take some long time if you have some multiple DBs. Second option is to use Exchange management shell, which will save your time and also will perform this task very easily.
So you can perform the following command in exchange management shell.
for example you have 4 DBs, all end with 01 numbers, which you want to be activated on MBS01 server.
Get-MailboxDatabase *601 | Move-ActiveMailboxDatabase -ActivateOnServer MBS01
To verify you can use the following command
Get-MailboxDatabase *601
[PS] C:\Windows\system32>Get-MailboxDatabase *1601
Name Server Recovery ReplicationType
---- ------ -------- ---------------
HR1601 MBS01 False Remote
IT1601 MBS01 False Remote
M1601 MBS01 False Remote
P1601 MBS01 False Remote
So we can see here that all the required DBS are activated on MBS01 with a single command.
So you can perform the following command in exchange management shell.
for example you have 4 DBs, all end with 01 numbers, which you want to be activated on MBS01 server.
Get-MailboxDatabase *601 | Move-ActiveMailboxDatabase -ActivateOnServer MBS01
To verify you can use the following command
Get-MailboxDatabase *601
[PS] C:\Windows\system32>Get-MailboxDatabase *1601
Name Server Recovery ReplicationType
---- ------ -------- ---------------
HR1601 MBS01 False Remote
IT1601 MBS01 False Remote
M1601 MBS01 False Remote
P1601 MBS01 False Remote
So we can see here that all the required DBS are activated on MBS01 with a single command.
No comments:
Post a Comment