Code:
 

$groupname = 'some group'
$obj = GetObject("WinNT://"+@domain+"/"+$groupname+",group")
IF $obj
for each $user in $obj.members
? $user.name
next
$obj = 0
ENDIF

_________________________
How to ask questions the smart way <-----------> Before you ask