New-AddressList: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
(Created page with "To create a new folder entry in the GAL. <pre> New-AddressList -Name 'Bentley' -DisplayName 'Bentley' -RecipientFilter {((RecipientType -eq 'UserMailbox') -and (City -eq 'Pert...")
 
No edit summary
 
Line 3: Line 3:
New-AddressList -Name 'Bentley' -DisplayName 'Bentley' -RecipientFilter {((RecipientType -eq 'UserMailbox') -and (City -eq 'Perth') -and (Office -eq 'Bentley'))} -Container '\Geographical Address Lists\Australia\Perth'
New-AddressList -Name 'Bentley' -DisplayName 'Bentley' -RecipientFilter {((RecipientType -eq 'UserMailbox') -and (City -eq 'Perth') -and (Office -eq 'Bentley'))} -Container '\Geographical Address Lists\Australia\Perth'
</pre>
</pre>
For a list of fields that can be used in the RecipientFilter parameter.
Microsoft : [http://technet.microsoft.com/en-us/library/bb738155(v=exchg.150).aspx Filterable Properties for the -Filter Parameter]
[[Category : Exchange PowerShell]]
[[Category : Exchange PowerShell]]

Latest revision as of 01:52, 6 May 2013

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