Announcement

Collapse
No announcement yet.

Change DOMAIN\username into First Last Name

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change DOMAIN\username into First Last Name

    I'd like to convert a list of users in DOMAIN\username format into first and last names via Powershell as part of a larger script.

    Example:

    DOMAIN\trogers
    DOMAIN\pteach
    DOMAIN\asmith

    to

    Tom Rogers
    Peter Teach
    Alvin Smith

    Can anyone suggest a way to do this?

    Cheers.

  • #2
    get-aduser should be able to do that.

    Comment

    Working...
    X