In my last post I wrote about a supported approach to create a user profile sync connection in SharePoint 2010 using PowerShell and Internet Explorer automation.
In the meanwhile I have adopted the script for SharePoint 2013.
Same conditions as last time: This is a kind of “Proof of Concept”. You have to modify it in order to use it in you scenarios.
Here it is:
http://gallery.technet.microsoft.com/Create-User-Profile-Sync-e9ec0cf7
Original article with some more details: