New-GlobalAddressList (RTM)
适用于: Exchange Server 2007
上一次修改主题: 2007-06-05
使用 New-GlobalAddressList cmdlet 可以新建全局地址列表 (GAL)。
语法
New-GlobalAddressList -Name <String> [-ConditionalCompany <MultiValuedProperty>] [-ConditionalCustomAttribute1 <String>] [-ConditionalCustomAttribute10 <String>] [-ConditionalCustomAttribute11 <String>] [-ConditionalCustomAttribute12 <String>] [-ConditionalCustomAttribute13 <String>] [-ConditionalCustomAttribute14 <String>] [-ConditionalCustomAttribute15 <String>] [-ConditionalCustomAttribute2 <String>] [-ConditionalCustomAttribute3 <String>] [-ConditionalCustomAttribute4 <String>] [-ConditionalCustomAttribute5 <String>] [-ConditionalCustomAttribute6 <String>] [-ConditionalCustomAttribute7 <String>] [-ConditionalCustomAttribute8 <String>] [-ConditionalCustomAttribute9 <String>] [-ConditionalDepartment <MultiValuedProperty>] [-ConditionalStateOrProvince <MultiValuedProperty>] [-DomainController <Fqdn>] [-IncludedRecipients <Nullable>] [-TemplateInstance <PSObject>]
New-GlobalAddressList -Name <String> [-DomainController <Fqdn>] [-RecipientFilter <String>] [-TemplateInstance <PSObject>]
详细说明
New-GlobalAddressList cmdlet 可以新建 GAL。GAL 的创建位置在 Active Directory 目录服务中的 Microsoft Exchange 组织配置容器下。
要运行 New-GlobalAddressList cmdlet,必须为您使用的帐户委派下列角色:
- Exchange 组织管理员角色
有关管理 Exchange Server 2007 所需的权限、角色委派以及权利的详细信息,请参阅权限注意事项。
参数
参数 | 必需 | 类型 | 说明 |
---|---|---|---|
Name |
必需 |
System.String |
Name 参数指定新 GAL 的名称。 |
ConditionalCompany |
可选 |
Microsoft.Exchange.Data.MultiValuedProperty |
ConditionalCompany 参数设置 GAL 的公司属性。 |
ConditionalCustomAttribute1 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute10 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute11 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute12 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute13 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute14 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute15 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute2 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute3 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute4 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute5 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute6 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute7 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute8 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalCustomAttribute9 |
可选 |
System.String |
此参数指定自定义属性。可以使用这些属性存储其他信息。 |
ConditionalDepartment |
可选 |
Microsoft.Exchange.Data.MultiValuedProperty |
ConditionalDepartment 参数设置 GAL 的公司属性。 |
ConditionalStateOrProvince |
可选 |
Microsoft.Exchange.Data.MultiValuedProperty |
ConditionalStateOrProvince 参数用于设置 GAL 中省或自治区的属性。该参数采用逗号分隔列表形式的多个值。 |
DomainController |
可选 |
Microsoft.Exchange.Data.Fqdn |
若要指定将此配置更改写入 Active Directory 域控制器的完全限定的域名 (FQDN),请在命令中包含 DomainController 参数。 |
IncludedRecipients |
可选 |
System.Nullable |
IncludedRecipients 参数用于设置 GAL 中包括的收件人。 |
RecipientFilter |
可选 |
System.String |
RecipientFilter 参数用于设置包含在 GAL 中的收件人。如果指定了以下任何参数,则不能使用 RecipientFilter 参数:
有关可筛选属性的详细信息,请参阅 -RecipientFilter 参数的可筛选属性。 |
TemplateInstance |
可选 |
System.Management.Automation.PSObject |
将现有对象提供给 TemplateInstance 参数时,该命令将使用该对象的配置在本地服务器或目标服务器上创建对象的完全重复副本。 |
输入类型
返回类型
错误
错误 | 说明 |
---|---|
异常
异常 | 说明 |
---|---|
示例
在此示例中,New-GlobalAddressList 命令用于新建名为 NewGAL 的 GAL。
New-GlobalAddressList -Name NewGAL