Powershell export not bring é through correctly.

Morning,

When I run an export from active directory via powershell, it doesn't bring in the é letters or anything, how can I force it to do that rather than the  Eléctrico that it's giving me. Essentially it should be Eléctricos

Thanks,
Alex
LVL 22
AlexProject Systems EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

oBdACommented:
Use Unicode as Encoding for Export-Csv:
Get-AD... | Select-Object -Property ... | Export-Csv -NoTypeInformation -Encoding Unicode -Path C:\Temp\export.csv

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AlexProject Systems EngineerAuthor Commented:
You wonderful, wonderful person!!!!

I googled that for AGES and couldn't find anything, I thought I needed some sort of language pack :S

Thanks OBdA
footechCommented:
Sidenote - UTF8 encoding could also work for your needs.  Not really important unless there's restrictions imposed by other apps that may consume the text output.
AlexProject Systems EngineerAuthor Commented:
Not really, I just need it to import a LOT of data straight into active directory. We're doing a dump of oracle to an excel sheet then importing specific details into AD using an employee number as a unique identifier for the oracle active directory sync
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.