SharePoint 2010 User Profile Synchronization Service: Enable NetBIOS domain names
If the NetBIOS name of any domain that you are synchronizing with differs from its fully qualified domain name, you must enable NetBIOS domain names on the User Profile service application. If all NetBIOS names are the same as the domain names, you may skip this procedure.
To enable NetBIOS domain names
Verify that you meet the following minimum requirements:
- See Add-SPShellAdmin.
- You must read about_Execution_Policies
Copy the following code and paste it into a text editor, such as Notepad:
$ServiceApps = Get-SPServiceApplication $UserProfileServiceApp = "" foreach ($sa in $ServiceApps) {if ($sa.DisplayName -eq "<UPSAName>") {$UserProfileServiceApp = $sa} } $UserProfileServiceApp.NetBIOSDomainNamesEnabled = 1 $UserProfileServiceApp.Update()
Replace <UPSAName> with the name of the User Profile service application.
Save the file, naming it
EnableNetBIOS.ps1
.Note:
You can use a different file name, but you must save the file as an ANSI-encoded text file whose extension is .ps1.
On the Start menu, click All Programs.
Click Microsoft SharePoint 2010 Products.
Click SharePoint 2010 Management Shell.
Change to the directory where you saved the file.
At the Windows PowerShell command prompt, type the following command:
.\EnableNetBIOS.ps1