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

asked on

Need help moving 1000 various users 90 days old to new database?

If I can use a power shell command to help me select and move users to a new database with the command  Import-CSV the_users.csv | foreach { Get-Mailbox $_.alias | Move-Mailbox -TargetDatabase ‘TargetDB’ }

How do I create the csv file, can I use the get-mailbox command, what does get-mailbox command and the csv file look like ? I googled and cannot figure out how to setup the csv file

ASKER CERTIFIED SOLUTION
Avatar of MohammadSaeed
MohammadSaeed
Flag of Egypt 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
Avatar of 355LT1
355LT1

ASKER

I kmow how to use Get-Mailbox commands and how to make csv reports, I just cannot figure out how to produce a csv to import into the move mailbox  command i..e   Import-CSV the_users.csv | foreach { Get-Mailbox $_.alias | Move-Mailbox -TargetDatabase ‘TargetDB’ } that will work. Do you have an exampe of the csv file?

Avatar of 355LT1

ASKER

incomplete answere