0
我試圖替代語言添加到使用PowerShell我的SharePoint網站:添加替代語言的SharePoint Online站點的PowerShell
$sitetenant = "https://mytenat-admin.sharepoint.com"
$credential = Get-Credential
Connect-SPOService -Url $sitetenant -Credential $credential
$sites = Get-SPOSite "https://mytenat.sharepoint.com/site"
foreach($site in $sites)
{
$culture = New-Object System.Globalization.CultureInfo(1033)
$site.AddSupportedUICulture($culture)
$site.Update()
}
我覺得這個方法不會在SharePoint Online中存在嗎?
打開網站集的RootWeb並通過的LCID您想要的語言添加到AddSupportedUICulture方法。例如。 '''$ web = $ site.OpenWeb(); $ web.AddSupportedUICulture(1031)''' –