Sdílet prostřednictvím


New-UMHuntGroup

 

Applies to: Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

The New-UMHuntGroup cmdlet creates a new Unified Messaging (UM) hunt group that is used to link incoming calls to a specific UM dial plan.

Syntax

New-UMHuntGroup -Name <String> -PilotIdentifier <String> -UMDialPlan <UMDialPlanIdParameter> -UMIPGateway <UMIPGatewayIdParameter> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-TemplateInstance <PSObject>] [-WhatIf [<SwitchParameter>]]

Detailed Description

The New-UMHuntGroup cmdlet creates a new UM hunt group in the Active Directory directory service. Running this cmdlet enables all Unified Messaging servers that are associated with UM dial plans to communicate with an IP gateway. A UM hunt group must be created to allow communication between a UM IP gateway and a UM dial plan.

To run the New-UMHuntGroup cmdlet, the account you use must be delegated the Exchange Organization Administrator role.

For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.

Parameters

Parameter Required Type Description

Name

Required

System.String

This parameter specifies the UM hunt group name that is used for display purposes. This string can contain as many as 64 characters, and it must be unique.

PilotIdentifier

Required

System.String

This parameter specifies the number string that is used to uniquely identify the pilot access number for the specified IP gateway. This number must match the subscriber access number that is configured in the UM dial plan.

UMDialPlan

Required

Microsoft.Exchange.Configuration.Tasks.UMDialPlanIdParameter

This parameter specifies the UM dial plan that will be used with the UM hunt group.

UMIPGateway

Required

Microsoft.Exchange.Configuration.Tasks.UMIPGatewayIdParameter

This parameter specifies the UM IP gateway to be associated with the UM hunt group.

Confirm

Optional

System.Management.Automation.SwitchParameter

This parameter causes the command to pause processing and requires the administrator to acknowledge what the command will do before processing continues. The default value is $true.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

This parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory.

TemplateInstance

Optional

System.Management.Automation.PSObject

This parameter specifies that the cmdlet will use the configuration of an existing object, when it is supplied to this parameter, to create an identical copy of the object on a local or target server.

WhatIf

Optional

System.Management.Automation.SwitchParameter

This parameter instructs the command to simulate the actions that it would take on the object. By using the WhatIf parameter, the administrator can view what changes would occur without having to apply any of those changes. The default value is $true.

Input Types

Return Types

Errors

Error Description

 

 

Exceptions

Exceptions Description

 

 

Example

The first example creates a UM hunt group named MyUMHuntGroup that has a pilot identifier of 12345.

The second example creates a UM hunt group named MyUMHuntGroup that has multiple pilot identifiers.

New-UMHuntGroup -Name MyUMHuntGroup -PilotIdentifier 12345  -UMDialplan MyUMDialPlan -UMIPGateway MyUMIPGateway

New-UMHuntGroup -Name MyUMHuntGroup -PilotIdentifier 5551234,55555 -UMDialplan MyUMDialPlan -UMIPGateway MyUMIPGateway