Here is a quick script to change the regional settings for your sharepoint site.
function ChangeSiteCultureInfo() { [CmdletBinding()] Param( [Parameter(Mandatory=$True, ValueFromPipeline=$True)] [string]$spSiteUrl, [ValidateSet("en-AU","en")] [string]$culture = "en-AU" ) BEGIN {} PROCESS { Write-Host "Processing site $spSiteUrl" $spsite = Get-SPSite -Identity $spSiteUrl $rootWeb = $spsite.RootWeb $cultureInfo = [System.Globalization.CultureInfo]::GetCultureInfo($culture) Write-Host "Curent local setting is $($rootWeb.Locale) " $rootWeb.Locale = $culture $rootWeb.Update() $rootWeb.Dispose() $spsite.Dispose() Write-Host "Finished Updating the locale of $spSiteUrl to $cultureInfo" } END {} }Usage:
url_here | ChangeSiteCultureInfo
Comments