You can follow along here.
https://devblogs.microsoft.com/scripting/use-powershell-to-set-ad-ds-users-display-names/
https://lazyadmin.nl/powershell/using-powershell-to-update-an-ad-user-from-a-csv-file/
--please don't forget to upvote
and Accept as answer
if the reply is helpful--