I´ve yet to see one quick and smooth description on how to retrieve all users from an AD group in windows in text form so I thought I´d present a simple solution here.
The tricky thing is to get the complete “ad”-object stringthingy for the group to use in the query but you can do this quite simply by first running the following query in the command prompt:
dsquery group -name YOURGROUPNAME
This will give you a string with a full object path
"CN=YOURGROUPNAME,OU=sumthing,OU=sumthing,OU=sumthing,DC=sumthing,DC=sumthing"
This you can now use in the following query:
dsget group "YOUR COMPLETE AD STRING" -members -expand
And you will get a resulting list of all member objects in the group.