Quick answer: after Connect-ExchangeOnline, run Set-MailboxRegionalConfiguration -Identity user@contoso.com -Language en-GB -TimeZone "GMT Standard Time" -DateFormat "dd/MM/yyyy" -TimeFormat "HH:mm". Add -LocalizeDefaultFolderName to rename Inbox, Sent Items and the other default folders into the new language. If changing the language gives a DateFormat error, pass -DateFormat $null -TimeFormat $null to use that language's defaults.
What does Set-MailboxRegionalConfiguration change?
It sets four regional settings on a mailbox: language, time zone, date format and time format. It works in Exchange Online and in Exchange Server 2010 through Exchange Server SE.
| Parameter | Value | Example |
|---|---|---|
-Identity |
Name, alias, email address, UPN or GUID | "megan@contoso.com" |
-Language |
A .NET culture code | fr-FR, ja-JP, pt-BR |
-TimeZone |
A Windows time zone key name, in quotes if it has spaces | "Pacific Standard Time" |
-DateFormat |
A format valid for the mailbox's language | "dd/MM/yyyy" |
-TimeFormat |
A format valid for the mailbox's language | "HH:mm" (24-hour), "h:mm tt" (12-hour) |
-LocalizeDefaultFolderName |
Switch, no value | Renames default folders into the language |
How do I check a mailbox's current settings?
Get-MailboxRegionalConfiguration -Identity megan@contoso.com
This returns the language, time zone, date format and time format. Check it before and after a change.
Common examples
Set language and folder names (Brazilian Portuguese):
Set-MailboxRegionalConfiguration -Identity "Marcelo Teixeira" -Language pt-br -LocalizeDefaultFolderName
UK settings with 24-hour time:
Set-MailboxRegionalConfiguration -Identity megan@contoso.com -Language en-GB -TimeZone "GMT Standard Time" -DateFormat "dd/MM/yyyy" -TimeFormat "HH:mm"
US West Coast:
Set-MailboxRegionalConfiguration -Identity megan@contoso.com -Language en-US -TimeZone "Pacific Standard Time" -DateFormat "M/d/yyyy" -TimeFormat "h:mm tt"
Change language and reset formats to that language's defaults:
Set-MailboxRegionalConfiguration -Identity "Megan Bowen" -Language es-ar -DateFormat $null -TimeFormat $null -LocalizeDefaultFolderName
Which date and time formats are valid?
Formats must suit the mailbox's language. For en-US, Microsoft lists:
| Date formats (en-US) | Time formats (en-US) |
|---|---|
| M/d/yyyy (default) | h:mm tt (default) |
| M/d/yy | hh:mm tt |
| MM/dd/yy | H:mm |
| MM/dd/yyyy | HH:mm |
| yy/MM/dd, yyyy-MM-dd, dd-MMM-yy |
Set the language and format in the same command, so the format is checked against the new language.
How do I find the right time zone name?
Time zones use Windows key names such as "Eastern Standard Time", "GMT Standard Time" (UK) or "W. Europe Standard Time", not abbreviations like EST or GMT+1. Microsoft's command lists them all on a Windows PC:
$TimeZone = Get-ChildItem "HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Time zones" | foreach {Get-ItemProperty $_.PSPath}; $TimeZone | sort Display | Format-Table -Auto PSChildname,Display
Use the value in the PSChildName column.
How do I update every mailbox at once?
Pipe Get-Mailbox into the cmdlet. Microsoft's example sets all user mailboxes to Spanish (Spain):
Get-Mailbox -RecipientTypeDetails UserMailbox -ResultSize Unlimited | Set-MailboxRegionalConfiguration -Language es-es -DateFormat "dd/MM/yyyy" -TimeFormat H:mm -LocalizeDefaultFolderName
To target one office, filter first, for example Get-Mailbox -Filter "Office -eq 'London'". Try the change on one mailbox, or add -WhatIf, before running it on everyone. See Get-Mailbox for more filters.
What about room mailboxes?
Room and equipment mailboxes are mailboxes too, so the same command sets their time zone:
Set-MailboxRegionalConfiguration -Identity boardroom@contoso.com -TimeZone "Eastern Standard Time"
To check all rooms at once:
Get-Mailbox -RecipientTypeDetails RoomMailbox -ResultSize Unlimited | Get-MailboxRegionalConfiguration
Working hours have their own time zone, set with Set-MailboxCalendarConfiguration -WorkingHoursTimeZone. Booking rules are in Set-CalendarProcessing.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| "Set-MailboxRegionalConfiguration is not recognized" | Not connected to Exchange | Run Connect-ExchangeOnline |
| Error about an invalid DateFormat after a language change | Old format isn't valid for the new language | Add -DateFormat $null -TimeFormat $null |
| Time zone rejected | Abbreviation or misspelled name | Use the Windows key name in quotes |
| Folders still in the old language | -LocalizeDefaultFolderName left out |
Rerun with the switch |
| Access denied | Missing permissions | See Microsoft's guide to finding the permissions for a cmdlet |
Summary
- Set language, time zone, date format and time format in one command.
- Check with Get-MailboxRegionalConfiguration.
- Use Windows time zone names, in quotes.
- After a language change,
-DateFormat $null -TimeFormat $nullfixes format errors. - Pipe Get-Mailbox to update many mailboxes, rooms included.
Related: Set-MailboxCalendarConfiguration, Set-CalendarProcessing, Get-Mailbox.
Meeting Room 365 turns any iPad or Android tablet into a room display for Exchange and Microsoft 365 calendars. See the features or pricing: $9 a display a month.