in reply to Enumerate MS AD Group Membership
Updated: <struck> Never let a unix guy answer a win question.
Updated: Perhaps you wanted this example? (Which apparently partially exonerates my original comments ... so I'm going to </strike>)
foreach my $strGroupDN (in $colGroups)
Is not perl. Specifically, your $colGroups is not an array. Without digging into the guts of the Get method, I'll hazard that it is returning a reference to an array of strings. I think you want:
foreach my $strGroupDN (@{$colGroups})
|
---|