Link to home
Start Free TrialLog in
Avatar of 355LT1
355LT1

asked on

How to make a userlist csv file for Exchange 2007 Mailbox Move?

I can't  get yhis power shell command to move users to a new database with the command;

I tesing  moving Exchange mailboxes with the powershell command  Import-CSV the_users.csv | foreach { Get-Mailbox $_.alias | Move-Mailbox -TargetDatabase ‘TargetDB’ } and I am not successful.

 I kmow how to move single users and how to  use Get-Mailbox commands and how to make csv reports, I just cannot figure out how to produce a the ideal csv to import into the move mailbox command that will actually work right.. Do you have an exampe of the csv file to use with the above move command?

Avatar of Amit
Amit
Flag of India image

ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

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
please post the error, its normally  a good indication of what the error is..