Solved

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

Posted on 2014-12-15
1
378 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
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…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

752 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