#Remove People picker from SharePoint
STSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv -url "http://mysite.com"
#Remove the properties.
$wa = Get-SPWebApplication http://mysite.com
$wa.PeoplePickerSettings.ActiveDirectoryCustomFilter = $null
$wa.Update()
#Get the People Picker value.
$wa = Get-SPWebApplication http://mysite.com
$wa.PeoplePickerSettings
#Get the People Picker exist or not.
STSADM.exe -o getproperty -pn peoplepicker-searchadforests -url "http://mysite.com"
No comments:
Post a Comment