• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 97
  • Last Modified:

change of time zone for bulk users in exchange 2013

Hello Team,

we need to change the Time zone for bulk of users to "Belarus Standard Time" , with importing of csv file with email address or alias name

Could you suggest

Thanks,
Andy
0
Addy Nadia
Asked:
Addy Nadia
  • 3
  • 2
1 Solution
 
Jason CrawfordTransport NinjaCommented:
This should work.  In this example, the column header for your .csv file would be 'Alias' (no quotes)

foreach ($user in (Import-Csv .\users.csv)) {
  Set-MailboxRegionalConfiguration $_.alias -TimeZone 'Belarus Standard Time'
}

Open in new window

0
 
Addy NadiaExpertAuthor Commented:
i need to select all matter in .txt and save it as a .ps1 ??
0
 
Jason CrawfordTransport NinjaCommented:
That's one way, yes.  Or you could just paste directly into Exchange Management Shell and press Enter twice.  If you pasted directly into EMS just make sure the .csv file is saved under the same path as your working directory.
0
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
Todd NelsonSystems EngineerCommented:
0
 
Addy NadiaExpertAuthor Commented:
thank u for quick help
0
 
Jason CrawfordTransport NinjaCommented:
Glad I could help.  Take care :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now