Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$web = Get-PnPWeb
$ctx = Get-PnPContext
$tz = $web.RegionalSettings.TimeZones.GetById(4) # Stockholm, UTC+1
$web.RegionalSettings.Timezone = $tz
$web.RegionalSettings.LocaleId = 1053 # Swedish
$web.RegionalSettings.FirstDayOfWeek = 1 # Monday
$web.RegionalSettings.Time24 = $true

This comment has been minimized.

Copy link

@baryslav baryslav commented Dec 25, 2019

Thank you, it helped me very.
Here is link to RegionalSettings TimeZones ID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment