Posted in Computers and Internet

AD: Get Display Name from user name (SAMAccountName)

I read’s blog get display name out of user name in a one line.

Here is a quick way to find the current user in your Active Directory and retrieve account information such as the display name:


I have even found easier way than using Active Directory PowerShell Module.

(Get-ADUser $env:USERNAME).name


Being in Silicon Valley for years, I became a IT Infrastructure Geek by experience and surrounded by other Geeks everywhere. I try to help others by the solutions I found on odd occasions.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s