Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2012-11-19

Use the Enable-UMMailbox cmdlet to enable Unified Messaging (UM) for an existing mail-enabled user.

Syntax

Enable-UMMailbox -Identity <MailboxIdParameter> -UMMailboxPolicy <MailboxPolicyIdParameter> [-AutomaticSpeechRecognitionEnabled <$true | $false>] [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-Extensions <MultiValuedProperty>] [-IgnoreDefaultScope <SwitchParameter>] [-NotifyEmail <String>] [-PilotNumber <String>] [-Pin <String>] [-PinExpired <$true | $false>] [-SIPResourceIdentifier <String>] [-ValidateOnly <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

Detailed Description

The Enable-UMMailbox cmdlet enables Unified Messaging for an existing mail-enabled Microsoft Exchange Server 2010 user. When the mail-enabled user is enabled for Unified Messaging, the settings from a UM mailbox policy are applied to the user. After the user is enabled for Unified Messaging, the user can use the UM features included with Exchange 2010.

After this task is completed, the user is enabled for Unified Messaging and can use the voice mail features included with Exchange 2010.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "UM mailbox" entry in the Unified Messaging Permissions topic.

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.MailboxIdParameter

The Identity parameter specifies the user to enable for Unified Messaging. The values for this parameter include the following:

  • ADObjectID

  • GUID

  • DN

  • Domain\Account

  • UPN

  • LegacyExchangeDN

  • SmtpAddress

  • Alias

UMMailboxPolicy

Required

Microsoft.Exchange.Configuration.Tasks.MailboxPolicyIdParameter

The UMMailboxPolicy parameter specifies the name of the UM mailbox policy to be associated with the user.

AutomaticSpeechRecognitionEnabled

Optional

System.Boolean

The AutomaticSpeechRecognitionEnabled parameter enables Automatic Speech Recognition (ASR) to be used with the UM mailbox. ASR is only available if the user's specified language preference is installed.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

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

Extensions

Optional

Microsoft.Exchange.Data.MultiValuedProperty

The Extensions parameter specifies the extension number for the user. Either a single extension number or an array of telephone number extensions can be specified. The user's extension must be unique to the UM dial plan. If this parameter isn't included, a default telephone number value from Active Directory is used. If you're enabling a user for Unified Messaging using a Session Initiation Protocol (SIP) Uniform Resource Identifier (URI) or E.164 dial plan, you must also specify the SIPResourceIdentifier parameter.

IgnoreDefaultScope

Optional

System.Management.Automation.SwitchParameter

The IgnoreDefaultScope parameter instructs the command to ignore the default recipient scope setting for the Exchange Management Shell session and use the entire forest as the scope. This allows the command to access Active Directory objects that aren't currently in the default scope. Using the IgnoreDefaultScope parameter introduces the following restrictions:

  • You can't use the DomainController parameter. The command uses an appropriate global catalog server automatically.

  • You can only use the distinguished name for the Identity parameter. Other forms of identification, such as alias or GUID, aren't accepted.

NotifyEmail

Optional

System.String

The NotifyEmail parameter specifies the e-mail address to which the server sends the e-mail message that contains the Unified Messaging welcome information. By default, the message is sent to the SMTP address of the enabled user.

PilotNumber

Optional

System.String

The PilotNumber parameter specifies the subscriber access number users can dial to gain access to their mailboxes. The default value is the subscriber access number specified on a dial plan object in Active Directory.

PIN

Optional

System.String

The PIN parameter specifies the value for the initial PIN to be used with the UM mailbox. The PIN is checked against the UM mailbox policy rules. The PIN value must be from 4 through 24 numeric characters. If no PIN is specified, a PIN generated by the system is sent to the user. The PIN generated by the system contains six numeric characters, which is the default.

PINExpired

Optional

System.Boolean

The PINExpired parameter specifies whether the PIN is treated as expired. If this parameter is supplied and is set to $false, users aren't required to reset their PIN the next time they log on. If the PIN isn't supplied, the PIN is treated as expired and users are prompted to reset their PIN the next time they log on.

SIPResourceIdentifier

Optional

System.String

The SIPResourceIdentifier parameter specifies the SIP address or E.164 address for the user. This property is compared to the URI type that is defined on the UM dial plan.

ValidateOnly

Optional

System.Management.Automation.SwitchParameter

The ValidateOnly switch tells the cmdlet to evaluate the conditions and requirements necessary to perform the operation and then reports whether the operation will succeed or fail. No changes are made when the ValidateOnly switch is used.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch.

Input Types

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

Return Types

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.

Examples

EXAMPLE 1

This example enables Unified Messaging on the mailbox for tonysmith@contoso.com, sets the extension and PIN for the user, and then assigns a UM mailbox policy named MyUMMailboxPolicy to the user's mailbox.

Copy Code
Enable-UMMailbox -Identity tonysmith@contoso.com -UMMailboxPolicy MyUMMailboxPolicy -Extensions 51234 -PIN 5643892 -NotifyEmail administrator@contoso.com -PINExpired $true

EXAMPLE 2

This example enables Unified Messaging on a SIP-enabled mailbox for tonysmith@contoso.com, associates a UM mailbox policy named MyUMMailboxPolicy, and sets the extension number, SIP resource identifier, and PIN for the user.

Copy Code
Enable-UMMailbox -Identity tonysmith@contoso.com -UMMailboxPolicy MyUMMailboxPolicy -Extensions 51234 -PIN 5643892 -NotifyEmail administrator@contoso.com -SIPResourceIdentifier "yan@contoso.com" -PINExpired $true