This PowerShell script is to help you automate the creation of SharePoint 2010 User Profile Synchronization connections, User Profile Properties and User Profile Property mappings.
This project contains a PowerShell script and an XML input file to provide automated User Profile Synchronization Connection operations in SharePoint 2010.
- Create or update User Profile Synchronization connections.
- Create user profile properties.
- Map SharePoint user profile properties with synchronization connection attributes.
Should you need to create multiple connections in different farms, or if you are required to reset the User Profile Service Application's synchronization database, this script will help you get back in business with fewer clicks.
You might integrate it with the AutoSPInstaller
section for details on usage.
The source code is included in the download package