NetBiosDomainNamesEnabled与SharePoint User Profile Service Application

时间:2023-03-10 00:34:17
NetBiosDomainNamesEnabled与SharePoint User Profile Service Application

本文中的内容转自参考资料中的文章.

 

如果域的NetBios名字跟Fully Qualified Domain Name不同的话, 那么就需要开启UPA的NetBiosDomainNamesEnabled属性为true, 默认这个值为false的.

 

如何判断你domain的NetBios name跟FQDN是否不同呢?

看下图.

NetBiosDomainNamesEnabled与SharePoint User Profile Service Application

 

下面的脚本可以在SharePoint服务器上运行, 设置该属性.

$ServiceApps = Get-SPServiceApplication
$UserProfileServiceApp = ""
foreach ($sa in $ServiceApps)
{
if ($sa.DisplayName -eq "<UPSAname>")
{
$UserProfileServiceApp = $sa}
}
$UserProfileServiceApp.NetBIOSDomainNamesEnabled = 1
$UserProfileServiceApp.Update()

 

参考资料

==========================

NetBiosDomainNamesEnabled and SharePoint User Profile Service Application

http://meandmysharepoint.blogspot.com/2012/09/netbiosdomainnamesenabled-and.html