Hi,
I've using a powershell script to take a Oracle extract (csv format) and update Active Directory objects with the information therein. All fields get updates no problem (sn, givenname, telephonenumber, department, title etc.) with the exception of the employeeNumber field.
IMPORT-CSV d:\oracle\source\Sample-Source.csv | ForEach {Set-QADUser -Identity $_.mail -employeeNumber $_.employeeNumber -sn $_.sn -givenname $_.givenname -telephoneNumber $_.telephoneNumber -department $_.department -physicaldeliveryoffice $_.physicaldeliveryoffice
-mail $_.mail -title $_.title -manager $_.manager -Description $_.description -ErrorAction Stop | Out-File -FilePath ("d:\oracle\changelog\changelog_$now.log") -encoding ASCII -append -width 1000}
I'm able to update the field via ADSI Edit using my credentials so I do have permissions however, if I run the Powershell script the update fails with the error "A parameter cannot be found that matches parameter name 'employeeNumber'
Is there anything that I need to be doing, mistakes, known issues..
All advice/comments are welcome