Home > audience-is-IT-staff, Glitches&Errors > Setting time zone for all and for all misconfigured OWA users

Setting time zone for all and for all misconfigured OWA users

live@edu/Office365 Exchange in the cloud does not seem to allow setting a default time zone, but rather leaves it to the user to change the time zone (defaulting to the time zone the cloud server is in that the user happens to hit) on first login – in the world I operate in, большая ошибка!

How to use the cmdlet set-MailboxRegionalConfiguration with parameter TimeZone to change the time zone of all your mailboxes is nicely explained on the blog How Exchange Works here, including screenshot and PowerShell command.

Unfortunately such an operation is reported to have needed 3 days for updating all mailboxes in an educational live@edu installation with 30000 users… You can restrict the mailboxes touched by examining first which are not in your local time zone (consult the MS TimeZone table for syntax, e.g. US “Eastern Standard Time”):

 

$mymailboxes = get-mailbox

ForEach ($examinedmailbox in $mymailboxes){

$regionalconfig = get-MailboxRegionalConfiguration –identity $examinedmailbox.identity

 

if ($regionalconfig.timezone -ne “Eastern Standard Time”){                      

Set-MailboxRegionalConfiguration -identity $examinedmailbox.identity -TimeZone  “Eastern Standard Time”  -confirm:$false

}

}

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: