'Is there cmdlet to use on powershell AD to use display name as Identity or on script to user to group?

I'm new to powershell so I started using it in AD. My issue is I can't find a script to use the user display name, for example if I want to add a user to a group with just the first and last name or displayname is that possible?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source