First you need to create the .csv file having the alias or Displayname in the format and save it as batch2.csv
Alias
hman
gmal
iqbo
Then we need to run the command from the Exchange Management Shell.
"Import-CSV "D:\Batch2.csv" | foreach {New-MoveRequest -Identity $_.alias -TargetDatabase DB01}"
Alias
hman
gmal
iqbo
Then we need to run the command from the Exchange Management Shell.
"Import-CSV "D:\Batch2.csv" | foreach {New-MoveRequest -Identity $_.alias -TargetDatabase DB01}"
Great, keep contributing!!!