$gprs = Get-DistributionGroup -ResultSize unlimited
$grps | %{$n = $_.name; Get-DistributionGroupMember $_} | Select-Object name,@{label="Group";expression={$n}} | export-csv c:\list.csv
ASKER
Get-DistributionGroup | select name , alias ,EmailAddresses | foreach {
“Name: “+$_.name
“Alias: “+$_.alias
$_.EmailAddresses | foreach {
if($_.SmtpAddress){
“SmtpAddress: “+$_.SmtpAddress
}
}
write-host
}
ASKER
ASKER
ASKER
ASKER
ASKER
Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.
TRUSTED BY
Get-DistributionGroupMembe