$Paths = Import-Csv -Path "C:\temp\OldFiles.csv" -Delimiter ';'
$ToMove = "C:\temp\ToMove.csv"
foreach ($Row in $Paths)
{
$Path = $Row.FullName
If ($Path.Substring(0,2) -eq "\\") {$Newpath = ("\\?\D:\11111\To_Move" + $Path.Remove(0,12))}
$Destpath = Split-Path $Newpath -Parent
$Row | Add-Member -NotePropertyName "NewPath" -NotePropertyValue $DestPath
}
$Paths | Export-Csv -Force -Path $ToMove -Encoding UTF8 -Delimiter ";" -NoTypeInformation