Skip to content
Nov 16 / James Marshall

Configuring regional settings for all users in Live@edu

When users of Live@edu first login to their accounts they are presented with the following screen:

image

Your Live@edu users will only see this screen once, however many administrators do not want to give their users the scope to pick the wrong locale! The question begs: how can I set this for all my users so that they don’t have to choose?

PowerShell to the rescue!

It is possible, through Windows PowerShell to configure regional and language settings for individual mailboxes. It is also possible to apply this to every user. For example:

To set an individual user to English (UK), and GMT Standard Time:

 

Set-MailboxRegionalConfiguration  -Language en-gb –TimeZone "GMT Standard Time"

To set all users in the tenant to English UK, and GMT Standard Time:

 

Get-Mailbox –Resultsize unlimited | Set-MailboxRegionalConfiguration –Language en-gb –TimeZone "GMT Standard Time"

To retrieve settings for all users in the tenant:

 

Get-Mailbox | Get-MailboxRegionalConfiguration

Depending on the number of users in the tenant this may take several minutes to process, and some warning messages may be displayed to inform you that you’ve exceed your Throttling Policy budget; this is just a warning and the command will complete. Once these settings changes have been made users will not have to make these choices at first login, or at any subsequent login. Users will still have the option to manually change them through their Options panel at any time. Simple!

Users created after running this command will still get asked to choose; so it’s probably a good idea to run this every time you create a new batch of users to ensure the new users are set correctly.

  • kateswist

    Hello James,

    I just wanted to let you know that your syntax is a little off in your middle example…

    There is no space between the “-” and “ResultSize”. It should read: Get-Mailbox –ResultSize unlimited

    Not to be nit-picky but it took me a long time to figure out why I couldn’t get all my users to display and the resultsize parameter kept spitting out an error.

    Thanks for your help…this script was perfect for my needs once I found the mistake.

    • http://www.jamesbmarshall.com James

      Thanks for pointing that out! I’ve updated the line to get rid of the typo. :)

  • Pingback: Configuring regional settings for all users in Live@edu

  • http://amrkhalili@blogspot.com Amir

    Hello James,

    At the first of all i just wanna thank you about your useful article.
    I`m in a situation that my OWA users dont have “Tehran Time Zone “.
    I tried your solution to set “Iran Standard Time” to one of my mailbox but the following error occured.
    ” Cannot process argument transformation on parameter ‘TimeZone’. Cannot convert value “Iran Standard Time” to type “Micr
    osoft.Exchange.Data.Storage.Management.ExTimeZoneValue”. Error: “The time zone specified is not valid.”
    + CategoryInfo : InvalidData: (:) [Set-MailboxRegionalConfiguration], ParameterBindin…mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-MailboxRegionalConfiguration ”
    Could you please help me on that.
    Thanks.

  • Jim

    This is helpful, thank you! We are going live this week in our school district with 30000 students, so this has proven to be helpful.

    I have a question though; is there any way to use powershell to get all mailboxes that DON’T have our correct time zone entered (we’re Eastern Standard Time), and then pipe those results to a Set-MailboxRegionalConfiguration command? I’m concerned about simply executing the Set command against all mailboxes every time due to the amount of mailboxes we have (the first run took almost 3 days!)

    Many thanks!

  • http://www.stuartridout.com Stuart Ridout

    Thanks James.

    This is just what I was looking for … but I now have a whole host of throttling errors.
    http://dl.dropbox.com/u/1250233/throttling.PNG

    Any ideas?
    Stuart

    • http://www.stuartridout.com Stuart Ridout

      Oops! Didn’t read the whole article. Just ignore me … move along … nothing to see here!

  • Pingback: Setting time zone for all OWA users « Thomas' Work Space

%d bloggers like this: