For en liste over alle mail adresse
1 |
Get-recipient -resultsize unlimited | select name -expand emailaddresses | select name,smtpaddress |
For en liste over alle mail adresse på et given domæne
1 |
Get-Recipient | Where{$_.EmailAddresses -match "it-grp.dk"} | select name -expand emailaddresses | select name,smtpaddress | where {$_ -match "kennethdalbjerg.dk"} |