Setting AD scope when adding site collection users

stsadm -o getsiteuseraccountdirectorypath

to view scope

stsadm -o getsiteuseraccountdirectorypath -url http://www.site.com

if output is something like

<SiteUserAccountDirectoryPath>ou=team,ou=department,ou=company,DC=domain,DC=com</SiteUserAccountDirectoryPath>

so it is locked to Team OU in domain

if like

<SiteUserAccountDirectoryPath />

you’re not locked 🙂

 

to change scope execute the following:

stsadm -o setsiteuseraccountdirectorypath -url http://www.site.com -path “”

Setting AD scope when adding site collection users

User Profile Synchronization Service on multiple servers

Quick answer: you cannot run User Profile Synchronization Service on more than one SharePoint Server.

If you start this service on server #1 and then start it on server #2 the service will be stopped on server #1 and started on server #2.

So for the sake of availlibility, if server #1 is down you have to manually start the service on server #2.

The User Profile Service instead can be started on multiple servers.

User Profile Synchronization Service on multiple servers

powershell output format

Get-%…% | where {$_.%…% -eq ‘%…%’} | Format-Table name,displayname –AutoSize

Get-%...% | where {$_.%...% -eq '%...%'}| select name,startname | format-list
 Get-%...% | where {$_.%...% -eq '%...%'}| select name,startname | format-wide
Get-%...% | where {$_.%...% -eq '%...%'}| select name,startname | export-csv c:\services.csv

or
Get-%...% | where {$_.%...% -eq '%...%'}| select name,startname | convertto-html | out-file c:\services.html
powershell output format

Quick access to SQL tools

SQL Server Management Studio (For SQL 2008 (R2) or SQL 2012):

C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE

 

SQL Server Configuration Manager  (For SQL 2008 (R2) or SQL 2012):

Run -> sqlservermanager10.msc

 

SQL Server Client Network Utility (For SQL 2008 (R2) or SQL 2012):

Run -> cliconfg

Quick access to SQL tools