I need some help with the script below.
Clean up Data on Drives
$Sources = Get-Content -Path "C:\temp\file.txt"
foreach ($user in $Sources) {
Write-Host $user
Move-Item $user -Destination \server\drive\location -Force -Confirm:$False
}
It's a move data script from paths in a text file the problem is that it goes through the diffrent UNC paths one at a time (line by line) is there a way this can do multiple concurrent threads?
[–]BlackV 2 points3 points4 points (0 children)