Need help with simple command (e-mail)

Hey guys,

I simply want Powershell to show me the value of the e-mail field of an AD user. But everytime I run my command, the result is empty. Of course I tried multiple spellings like email/mail/mailaddress etc.

get-aduser username | select-object email 

=> Result empty. But the field is filled in AD.

It just shows: email —- {}

submitted by /u/Seclol
[link] [comments]

Leave a Reply