Hello @thili koda
I would try something like this:
Import-CSV -Path C:\myUsers.CSV | Foreach-Object {
$DisplayName = $_.DisplayName
$title = $_.jobtitle
Get-ADUser -Filter {(Displayname -eq "$DisplayName")} | Set-ADUser -Title $title
Hope this helps with your query,
-----------------
--If the reply is helpful, please Upvote and Accept as answer--