Hi,
Does anyone know why this wouldn't work? To me it looks correct..
get-distributiongroup -resultsize:5 | select Name,@{Name="mbrCount";Expression={((Get-DistributionGroupMember $_.Name).Count)}}
The issue is that the mbrCount value only returns on the last 1 or 2 objects in the group of objects! All the others appear blank
MCITP Ent. Messaging | MCTS | MCSA | MCP
http://www.camm.id.au (blog)