I'm trawling through the many previous questions too, but purely for selfish reasons, asking might get me a solution quicker.
Our AD once upon a time was not our primary directory service - we had Novell eDirectory. When we migrated way way back, we didn't carry across attribute data for users (phone number, job title etc). This info was then kept up to date in a simple database instead that fed our Intranet.
Now I want to put that info back in AD.
I've used a command to get my CSV from AD, which I then want to modify and then push back to AD. The export is easy -Get-ADUser -Filter * -SearchBase "OU=xx,DC=xx,DC=msft" -Properties * | Select -Property SamAccountName,CN,Country,GivenName,sn,EmailAddress,UserPrincipalName,MobilePhone,OfficePhone,Title | Export-CSV "C:\\ADusers.csv" -NoTypeInformation -Encoding UTF8
I need help getting it back...