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