New-AddressList

From KlavoWiki
Jump to navigationJump to search

To create a new folder entry in the GAL.

New-AddressList -Name 'Bentley' -DisplayName 'Bentley' -RecipientFilter {((RecipientType -eq 'UserMailbox') -and (City -eq 'Perth') -and (Office -eq 'Bentley'))} -Container '\Geographical Address Lists\Australia\Perth'

For a list of fields that can be used in the RecipientFilter parameter.

Microsoft : Filterable Properties for the -Filter Parameter