Solved

change of time zone for bulk users in exchange 2013

Posted on 2016-11-16
6
38 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
  • 3
  • 2
6 Comments
 
LVL 14

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 14

Accepted Solution

by:
Jason Crawford earned 500 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
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

 
LVL 14

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 14

Expert Comment

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

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

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 aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Distribution Group 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 Recipients >>…
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…

912 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now