A few posts ago I created a script that loops through each site in a site collection. The script is located at https://www.sharepointfire.com/2016/05/powershell-script-to-loop-through-each-sharepoint-online-site/. I’ll use this post to add all the commands I’ve used with this script. The below commands are specially created for SharePoint Online and it’s using the CSOM.

Changing Locale ID for each site

The below commands are there to change the locale ID for each site and to change the time to 24h in stead of 12h

$web.RegionalSettings.LocaleId = 1043
$web.RegionalSettings.time24 = $true

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.