July 2017
Intermediate to advanced
648 pages
31h 9m
English
The given method will work for any of the address lists in your organization. For example, you can export the recipients of the Global Address List (GAL) using the following code:
$GAL = Get-GlobalAddressList "Default Global Address List"
Get-Recipient -RecipientPreviewFilter $GAL.RecipientFilter |
Select-Object DisplayName,
@{n="EmailAddresses";e={$_.EmailAddresses -join ";"}} |
Export-Csv -Path c:\GAL.csv -NoTypeInformation
As you can see here, the main difference is that this time we are using the Get-GlobalAddressList cmdlet to export the default global address list. You can use this technique for any address list in your organization: just specify the name of the address list you want to export when using either the ...
Read now
Unlock full access