Tuesday, April 29, 2008

EMS Script

this post has been moved to
http://www.exchange-genie.com/2008/04/ems-script/

1 comments:

$hay@Israel said...

I like your blog :)

Here's another way to get all members of the groups in one table:

foreach($group in Get-DistributionGroup -OrganizationalUnit $Ou){
Get-DistributionGroupMember $group | select @{n="DistributionGroup";e={$group.name}},@{n="MemberName";e={$_.name}},alias,primarysmtpaddress
}


---
Shay Levy
$cript Fanatic
http://scriptolog.blogspot.com