I would like to update regional settings (TimeZone to be exact) in 1000 sites.
I found the right property
$ctx.Web.RegionalSettings.TimeZone, but it is read-only. I searched for any functions allowing to modify the TimeZone, but did not find any (no
- Manual change is not an option.
- LocaleID is not the same as TimeZone. Please do not offer solutions to change LocaleID.
- There are no issues connecting to SPO or reading data. I can retrieve/read the current Zone with code:
13 (UTC-08:00) Pacific Time (US and Canada)
How can I update
$ctx.Web.RegionalSettings.TimeZone for 1000 sites using code?