User Profile service cmdlets (SharePoint Server 2010)


Applies to: SharePoint Server 2010

Topic Last Modified: 2011-09-23

In Microsoft SharePoint Server 2010, the User Profile Service is used to store and process information about users. This information is stored as a collection of user profile properties per user. The user information must be imported into the user profile store before it can be used by various personalization-related features and people search. These properties can be imported from line-of-business applications and directory services (primarily Active Directory directory service and Lightweight Directory Access Protocol (LDAP)).

In SharePoint Server 2010, the use of social tagging, expertise tagging, and profile synchronization are new features.

SharePoint Server 2010 provides an enterprise-wide repository for storing social and expertise tags and for associating those tags with a user's profile. Administrators can control who can tag items on a given site, decide which tags can be used, and delete tags prior to a specific date or based on a specific user profile ID. Tagging relies on the Managed Metadata Service and can be enabled by using either the UI or Windows PowerShell cmdlets.

Profile synchronization synchronizes data in the SharePoint profile store with profile information contained in directory services across the enterprise, such as Active Directory or LDAP. After a connection to the appropriate directory service has been set up, profile synchronization can be scheduled to run on a regular basis.

You can use User Profile Service Windows PowerShell cmdlets to create and configure the User Profile Service and profile tags, and to configure permissions and all global settings for the User Profile Service.


Cmdlet name Description


Adds a new site subscription to a User Profile Service application.


Returns permission and identity information.


Moves multiple-string values into a term set.


Adds a User Profile Service application to a farm.


Creates a User Profile Service application proxy on the local farm.


Deletes a site subscription from a User Profile Service application.


Deletes tags, notes, or ratings.


Sets properties of a User Profile Service application.


Sets properties of a proxy for a User Profile Service application.


Sets permission and identity information.


Sets the parameters of a site subscription.


Updates the profile photo store to be compatible with Microsoft SharePoint Server 2010.


Adds a pluggable security trimmer to a User Profile service application proxy.


Gets pluggable security trimmers that have been added to a User Profile service application proxy.


Removes pluggable security trimmers that have been added to a User Profile service application proxy.


Adds a company leader.


Returns the current company leaders.


Moves social comments.


Removes a company leader.

The following table shows cmdlets that are added as part of the User Profile Replication Engine, included in the SharePoint 2010 Administration Toolkit.


Cmdlet name Description


Gets all user profile properties.


Replicates all selected user profile properties from the source User Profile service application to the destination User Profile service application.


Recovers user profiles that failed to replicate during full profile replication.


Replicates changes for selected profile properties from the source User Profile service application to the destination User Profile service application using the Replication Engine Windows service.


Stops incremental profile replication.

For more information, see SharePoint 2010 Administration Toolkit (SharePoint Server 2010).