Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 3457

Create an Address List with Mail Contacts

$
0
0

Hi everyone,

I need some help, I have Mail Contacts created on E2K13 and I am trying to create an Address List of these Mail Contacts, based on "Company" attribute, using the following command but the error is displayed:

New-AddressList -Name "My Group" -RecipientFilter "((RecipientType -eq 'MailContacts') -and (Company -like 'Group 1') -or (Company -like 'Group 2'))"  -WhatIf
Cannot bind parameter 'RecipientFilter' to the target. Exception setting "RecipientFilter": "The value "MailContacts"
could not be converted to type Microsoft.Exchange.Data.Directory.Recipient.RecipientType."
    + CategoryInfo          : WriteError: (:) [New-AddressList], ParameterBindingException
    + FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.Exchange.Management.SystemConfigurationTasks.NewAddress
   List
    + PSComputerName        : DC1.subdomain.domain.com


Viewing all articles
Browse latest Browse all 3457

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>