how to list members of active directory distribution list or the security list

Hi there,
I am going to list all members of a distribution/security list. I have been searching for a script to do this task but I am so confused.
Could you please give me some hint how to retrieve this query?
Thanks

And if the Group is in a separate OU you may want to use the Distinguished Name
(CODE)
Here is a link to the docs http://technet.microsoft.com/en-us/library/ee617193.aspx (http://technet.microsoft.com/en-us/library/ee617193.aspx)

This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database.
Log onto the server running the Backup Exec database. In a larger environment, this would generally be …

This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job.
The first step is to acquire the necessary licen…