7,023 questions
Hi,
So are you looking for exporting users with email address attribute? Try this code Get-ADUser -Filter * -Properties EmailAddress,DisplayName, samaccountname| select EmailAddress, DisplayName
Hope this helps.
JS
==
Please Accept the answer if the information helped you. This will help us and others in the community as well.