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

Topic Last Modified: 2012-11-16

Use the Set-MailboxRegionalConfiguration cmdlet to set regional settings such as time, date, or language for the specified mailbox.

Syntax

Set-MailboxRegionalConfiguration -Identity <MailboxIdParameter> [-Confirm [<SwitchParameter>]] [-DateFormat <String>] [-DomainController <Fqdn>] [-Language <CultureInfo>] [-LocalizeDefaultFolderName <SwitchParameter>] [-TimeFormat <String>] [-TimeZone <ExTimeZoneValue>] [-WhatIf [<SwitchParameter>]]

Detailed Description

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 "User options" entry in the Client Access Permissions topic.

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.MailboxIdParameter

The Identity parameter specifies the mailbox. You can use the following values:

  • GUID

  • ADObjectID

  • Distinguished name (DN)

  • Domain\Account

  • User principal name (UPN)

  • LegacyExchangeDN

  • SmtpAddress

  • Alias

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch can be used to suppress the confirmation prompt that appears by default when this cmdlet is run. To suppress the confirmation prompt, use the syntax -Confirm:$False. You must include a colon ( : ) in the syntax.

DateFormat

Optional

System.String

The DateFormat parameter specifies the format for displaying the date, for example, m/d/yyyy, in the mailbox for a specified region based on the Language selection.

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.

Language

Optional

System.Globalization.CultureInfo

The Language parameter specifies the language setting such as en-us that would apply for the mailbox.

LocalizeDefaultFolderName

Optional

System.Management.Automation.SwitchParameter

The LocalizeDefaultFolderName parameter specifies whether the default folder names of the mailbox are localized with the current or specified language. When the parameter is set to $true, the default folder names of the mailbox are localized with the current or specified language. This parameter can only be used by the mailbox owner running the task. If a non-mailbox owner tries to configure this setting on the mailbox, an error is reported. By default, the value is set to $false.

TimeFormat

Optional

System.String

The TimeFormat parameter specifies the format (for example, h:mm tt, as in 3:45 A.M.) used by the mailbox to display time for the specified region.

TimeZone

Optional

Microsoft.Exchange.Data.Storage.Management.ExTimeZoneValue

The TimeZone parameter specifies the time zone, such as Pacific Standard Time, that the mailbox in the specified region uses. The default value is the time zone setting on the server.

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 sets Tony's mailbox to have the language set as Brazilian Portuguese.

Copy Code
Set-MailboxRegionalConfiguration -Identity Tony -Language pt-br

EXAMPLE 2

This example sets the date format for Tony's mailbox.

Copy Code
Set-MailboxRegionalConfiguration -Identity Tony -DateFormat "d/m/yyyy"

EXAMPLE 3

This example sets Tony's mailbox to have the language set as Denmark and the date set in the format of day/month/year.

Copy Code
Set-MailboxRegionalConfiguration -Identity Tony -Language da-dk -DateFormat "dd-mm-yyyy"