Solved

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

Posted on 2014-12-15
1
394 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

635 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