Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

change of time zone for bulk users in exchange 2013

Posted on 2016-11-16
6
Medium Priority
?
78 Views
Last Modified: 2016-11-18
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
Comment
Question by:Addy Nadia
[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
  • 3
  • 2
6 Comments
 
LVL 16

Expert Comment

by:Jason Crawford
ID: 41889368
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
 
LVL 5

Author Comment

by:Addy Nadia
ID: 41889379
i need to select all matter in .txt and save it as a .ps1 ??
0
 
LVL 16

Accepted Solution

by:
Jason Crawford earned 2000 total points
ID: 41889582
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
Q2 2017 - Latest Malware & Internet Attacks

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out our latest Quarterly Internet Security Report!

 
LVL 16

Expert Comment

by:Todd Nelson
ID: 41890046
0
 
LVL 5

Author Closing Comment

by:Addy Nadia
ID: 41892935
thank u for quick help
0
 
LVL 16

Expert Comment

by:Jason Crawford
ID: 41893016
Glad I could help.  Take care :)
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

604 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