Solved

Bulk Office 365 - Set Time Zone, Date Format, Time Format and Language PowerShell

Posted on 2014-12-15
1
366 Views
Last Modified: 2015-01-19
Hi,

I have the following script:

$users = Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} 
$users | %{Set-MailboxRegionalConfiguration $_.Identity -TimeZone "GMT Standard Time" –Language en-EN -DateFormat "dd.MM.yyyy" -TimeFormat "HH:mm"}

Open in new window


This will set all mailboxes to GMT and English. I am trying to do a bulk group from a CSV, is this possible? Also Language English more than one version, how to ensure the correct English language is picked?

Regards,

introlux
0
Comment
Question by:introlux
1 Comment
 
LVL 19

Accepted Solution

by:
Raheman M. Abdul earned 500 total points
ID: 40500208
$langCode= 2057     # This is language code for English United Kingdom. For more codes see : https://www.cogmotive.com/blog/office-365-tips/set-language-and-time-zone-for-all-owa-users-in-office-365

$users =import-csv c:\temp\userMailboxes.csv
$users | %{Set-MailboxRegionalConfiguration $_.MailboxIdentity -TimeZone "GMT Standard Time" –Language  $langCode -DateFormat "dd.MM.yyyy" -TimeFormat "HH:mm"}
                                  

Open in new window

first column should have MailboxIdentity

MailboxIdentity
mailbox1
mailbox2
mailbox3
....
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read this checklist to learn more about the 15 things you should never include in an email signature.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question