Link to home
Start Free TrialLog in
Avatar of Andy Andy
Andy AndyFlag for India

asked on

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
Avatar of Jason Crawford
Jason Crawford
Flag of United States of America image

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

Avatar of Andy Andy

ASKER

i need to select all matter in .txt and save it as a .ps1 ??
ASKER CERTIFIED SOLUTION
Avatar of Jason Crawford
Jason Crawford
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thank u for quick help
Glad I could help.  Take care :)