快捷搜索:  xxx  as  推理研究所  幼幼  侦探研究所

富邦国际娱乐官网:sharepoint 2013站点批量修改区域设置



cls

[System.Reflection.Assembly]::L富邦国际娱乐官网oadWithPartialName("Microsoft.SharePoi富邦国际娱乐官网nt")foreach ($webApplication in Get-SPWebApplication) {

Write-HostWrite-Host "Processing $webApplication"

Write-Host "奸淫奸淫奸淫奸淫奸淫奸淫奸淫奸淫奸淫奸淫"$webApplicat富邦国际娱乐官网i富邦国际娱乐官网on.DefaultTimeZone = 45#only set the default time zone, cannot change the time zone

foreach ($site in $webApplic富邦国际娱乐官网ation.Sites) {

$webs = $site.AllWebs

Write-HostWrite-Host "Processing $site"

Write-Host "奸淫奸淫奸淫奸淫奸淫奸淫奸淫奸淫奸淫奸淫"foreach ($web in $webs) {

$culture=[System.Globalization.CultureInfo]::CreateSpecificCulture("zh-cn")$web.Locale=$culture

#write-host $web.RegionalSettings.TimeZone #= 45$web.Update()

$web.Dispose()Write-Host $web.Url

}}

$webApplication.Update()}

免责声明:以上内容源自网络,版权归原作者所有,如有侵犯您的原创版权请告知,我们将尽快删除相关内容。

您可能还会对下面的文章感兴趣: