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?
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?
This one is with txt file
http://beacon.wharton.upenn.edu/core-systems/2008/05/how-to-move-mailboxes-from-a-t/
http://beacon.wharton.upenn.edu/core-systems/2008/05/how-to-move-mailboxes-from-a-t/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
please post the error, its normally a good indication of what the error is..
http://blogs.technet.com/b/nzdse/archive/2011/01/14/powershell-script-bulk-move-mailboxes-using-a-csv-input-file-hmc-4-0.aspx