Link to home
Start Free TrialLog in
Avatar of pramod1
pramod1Flag for United States of America

asked on

exchange, mailbox, powershell

I need to make sure 2 users mailbox are homed on a particular mailbox server

for ex. user1 malbox is to be homed on mbx1 server
user2 mailbox to be homed on mbx2 server

is there any powershell command I can use
SOLUTION
Avatar of timgreen7077
timgreen7077

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pramod1

ASKER

I didn't get the last one correctly, we are on exchange 2016 environment.

so let us say if I want to move user 1 which is on db1 database  on mbxserver1  and want to move

to db2 database on mbxserver2 , can you please correct below command

does it look like this

New-MoveRequest "<DescriptiveName>"] -Identity <user1> [<-ArchiveOnly | -PrimaryOnly>] [-TargetDatabase <db2>] [-ArchiveTargetDatabase<DatabaseIdentity>] [-Priority <PriorityValue>] [-BadItemLimit <Value>] [-AcceptLargeDataLoss] 

is this correct command?


Avatar of pramod1

ASKER

last question, thank you for above
we have  some mailbox databases like db1.. db80 spread across 4 exchange servers. ( mbx1, mbx2, mbx3, mbx4)
I need to failover  all the databases from mbx1 and mbx2 to mbx3 and mbx4
we are doing failover exercise.
all 4 servers are in same dag01 , same active directory site.
On  mbx1 I if I use move-activemailboxdatabase - server  mbx2, will it move all the databases ?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pramod1

ASKER

so this command if I run on mbx1, it moves all db's on mbx1 to other mbx server?

or should I put the target server instead?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pramod1

ASKER

so cant I run this on mbx1

Move-ActiveMailboxDatabase  -ActivateOnServer MBX2 ?
Avatar of pramod1

ASKER

and so what happens with mailboxes homed which are on active mailbox database that will also get moved?

we want to sure mbx1 is not doing anything as we want to put that  server in maint. mode during switch over