Either Rename command gives an error:
Rename-ADObject -Identity $DSName -NewName $DisplayName
OR
Rename-AdmObject -Identity $DSName -NewName $DisplayName
This is the CSV Input command:
Import-Csv -Path $InputFilePath | ForEach-Object {
Format:
USER_NAME,SUPR_USER_NAME,JOB_TITLE,DEPARTMENT,FIRST_NAME_NICK_NAME,MIDDLE_INITIAL,LAST_NAME_SUFFIX,EMP_NUM,DIVISION,WORK_PHONE,WORK_FAX1,WORK_FAX2,CELL_PHONE,IP_PHONE,PAGER,LOCATION,E_MAIL_ADDR,WORK_ADDR1,WORK_ADDR2,MAIL_STOP,CITY,STATE,ZIP,MAIL_VALUES,TERM_DATE
CLS6,RDP6,Sr Project Manager,"Project Management",Cheryl,,Smith,11102,Corporate,702-555-1212,702-555-1212,,702-555-1212,73555,,LV-Spring Mtn,TST_CHERYL.SMITH@EMAIL.COM,5241 Spring Mountain Road,,LVC-480,Las Vegas,NV,89150, ,
NPL1,SRV2,Sr Security Analyst,"Cybersecurity Services",Nicolas,,Jones,11105,Corporate,702-555-1212,702-555-1212,,702-555-1212,73555,,LV-Spring Mtn,TST_NICOLAS.JONES@EMAIL.COM,5241 Spring Mountain Road,,LVC-340,Las Vegas,NV,89150, ,