Share via


New-UMAutoAttendant

 

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

The New-UMAutoAttendant cmdlet creates a new Unified Messaging (UM) auto attendant.

Syntax

New-UMAutoAttendant -Name <String> -UMDialPlan <UMDialPlanIdParameter> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-DTMFFallbackAutoAttendant <UMAutoAttendantIdParameter>] [-PilotIdentifierList <MultiValuedProperty>] [-SpeechEnabled <$true | $false>] [-Status <Enabled | Disabled>] [-TemplateInstance <PSObject>] [-WhatIf [<SwitchParameter>]]

Detailed Description

The New-UMAutoAttendant cmdlet lets you create one or more UM auto attendants. Unified Messaging auto attendants have a forest-wide scope in the configuration container in the Active Directory directory service. When you create a new UM auto attendant, it is linked to a single UM dial plan that contains a list of extension numbers. Linking the UM auto attendant to the UM dial plan enables the associated Unified Messaging servers to answer incoming calls by using the UM auto attendant.

To run the New-UMAutoAttendant 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 display name for the UM auto attendant. The display name for the new UM auto attendant can contain as many as 64 characters.

UMDialPlan

Required

Microsoft.Exchange.Configuration.Tasks.UMDialPlanIdParameter

This parameter specifies the UM dial plan identifier for the UM dial plan to be associated with this UM auto attendant.

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 of the domain controller that writes this configuration change to Active Directory.

DTMFFallbackAutoAttendant

Optional

Microsoft.Exchange.Configuration.Tasks.UMAutoAttendantIdParameter

This parameter specifies a secondary UM auto attendant. A secondary UM auto attendant can be used only if the SpeechEnabled parameter is set to $true.

PilotIdentifierList

Optional

Microsoft.Exchange.Data.MultiValuedProperty

This parameter specifies a list of one or more pilot numbers. Pilot numbers route incoming calls to UM servers. The calls are then answered by the UM auto attendant.

SpeechEnabled

Optional

System.Boolean

This parameter specifies whether the UM auto attendant is speech-enabled. The default value is $true. If this parameter is omitted, or if the value is $false, the UM auto attendant is not speech-enabled.

Status

Optional

Microsoft.Exchange.Data.Directory.SystemConfiguration.StatusEnum

This parameter specifies whether the UM auto attendant that is being created will be enabled. If this parameter is not supplied, the UM auto attendant is created but left in a disabled state.

TemplateInstance

Optional

System.Management.Automation.PSObject

This parameter specifies that the cmdlet will use the configuration of an existing object, when that object 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 new UM auto attendant named MyUMAutoAttendant that can accept incoming calls but is not speech-enabled.

The second example creates a new speech-enabled UM auto attendant named MyUMAutoAttendant.

New-UMAutoAttendant -Name MyUMAutoAttendant -UMDialPlan MyUMDialPlan -PilotIdentifierList 55000 -Enabled $true

New-UMAutoAttendant -Name MyUMAutoAttendant -UMDialPlan MyUMDialPlan -PilotIdentifierList 56000,56100 -SpeechEnabled $true