Limiting the SharePoint People Picker with PowerShell
We had the problem that the searching after people in the Active Directory took very long. If you don't limit the people picker in SharePoint it searches the whole domain and all forests within. This can be very time consuming when the picker tries to resolve the names ( In out company about 1 minute). Therefore we decided to limit the people picker by domain. The problem is that you can define this limitation only on sitecollection level. This means that you have to do that each time you create a new sitecollection. I wrote a powerhell script which loops throught alle sitecollections and restricts the one, which do not already have a limitation. #Powershell for Changing People Picker Settings #Author I.Bikmaz #Add SharePoint SnapIn $snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'} if ($snapin -eq $null) { Write-Host "Loading SharePoint Powershell Snap-in" Add-PSSnapin "Microsoft.SharePoint.