0
The problem such: 1) migrate the state of the user, its settings printers, the data being in Users.
2)all other data located in the root of the system drive to migrate, but save to a separate folder. To after recovery the user went and chose right.
I did so:
%SystemDrive%\%OSDComputerName% migration data
/ue:%OSDCOMPUTERNAME%\* /hardlink /nocompress
After installing a new OS. SCCM client installation. Moving data that was in the root of the disk
$destination = Join-Path -Path $env:SystemDrive -ChildPath "UserOld"
Move-Item -Path $env:SystemDrive\$env:computername\USMT\File\C$\* -Exclude "Users", "Windows","ProgramData","Program Files","Program Files (x86)" -Destination $destination
restore from
/ue:%OSDCOMPUTERNAME%\* /hardlink /nocompress
but it recovers all data, even moved data. how to be?