In sharepoint 2013 I have to create user profile synchronization connection using sharepoint active directory through scripts. I have created the user profile service using powershell after that is there any way to select the option in Configure Synchronization Settings to select Use SharePoint Active Directory in Synchronization Options. After that I have to create the synchronization connection using scripts.

I have scripts for sharepoint 2010 but I could't find scripts for sharepoint 2013. If anyone have tried this before please help me out

Thank You

1 Answer 1


Use the Add-SPProfileSyncConnection cmdlet. Here is the TechNet documentation: http://technet.microsoft.com/en-us/library/jj219677.aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.