I found this single command line gets the members of a group with their display name and user name.
dsquery group -name "My AD Group Name" | dsget group -members | dsget user -display –samid
Check DSGet User /? to get more information about the users.
Check DSGet Group /? to get more information about the groups.