Tuesday, July 1, 2008

Enumerate all members of a group

this works for any type of group; thanks to Amit Tank from the technet forums for the syntax! Again the actual pipe key doesn't show up in blogger so I've replaced it with the word PIPE.

$grp = get-group “Group Name”
$grp.members PIPE fl Name