Import-Module activedirectory
Get-Content users.txt | ForEach-Object {
Set-ADUser -Identity $_ -ProfilePath "\\Testmac01\t1\$_" -homedrive "Y:" -homedirectory "\\Testmac01\t2\$_"
}
Get-Content users.txt | ForEach-Object {
Set-ADUser -Identity $_ -ProfilePath "\\Testmac01\t1\$_" -homedrive "Y:" -homedirectory "\\Testmac01\t2\$_"
}
AliahMurfy