Applies to: Exchange Server 2007
Topic Last Modified: 2007-08-09

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> [-DomainController <Fqdn>] [-TemplateInstance <PSObject>]

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.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to the Active Directory directory service, include the DomainController parameter on the cmdlet.

TemplateInstance

Optional

System.Management.Automation.PSObject

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

Detailed Description

The New-UMHuntGroup cmdlet creates a new UM hunt group in Active Directory. 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 following:

  • Exchange Organization Administrator role

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

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.

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

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