The following commands can be used with the ntdisk number as seen in either the get-DPMDISK output, the Windows Disk Management GUI or DPM Management - Disks GUI.
EXAMPLE-1 These commands show the migrations going from NTDisk 1 to NTDisks 3, 5, 6.
$source = get-dpmdisk -dpmserver DPM-SVR-NAME | where {$_.ntdiskid -eq 1}
$destination = get-dpmdisk -dpmserver DPM-SVR-NAME | where {3,5,6 -contains $_.ntdiskid}
MigrateDatasourceDataFromDPM.ps1 -DPMServername DPM-SVR-NAME -source $source -destination $destination
EXAMPLE-2 These commands show the migrations going from NTDisk 1,2,3 to NTDisks 4,5,6.
$source = get-dpmdisk -dpmserver DPM-SVR-NAME | where {1,2,3 -contains $_.ntdiskid}
$destination = get-dpmdisk -dpmserver DPM-SVR-NAME | where {4,5,6 -contains $_.ntdiskid}
MigrateDatasourceDataFromDPM.ps1 -DPMServername DPM-SVR-NAME -source $source -destination $destination