Sharepoint 2010 – User Profile Service timerjobs en CMDLets

Deze laatste post in de blog serie over de User Profile Service toont een overzicht van Timer Jobs en CMDLets die gebruikt (kunnen) worden bij beheer van de User Profile Service. Eerdere blog posts in deze series zijn:

https://blogs.microsoft.nl/blogs/mpriem/archive/2010/08/07/sharepoint-2010-user-profile-service.aspx
https://blogs.microsoft.nl/blogs/mpriem/archive/2010/08/07/sharepoint-2010-profiel-synchronisatie-import.aspx
https://blogs.microsoft.nl/blogs/mpriem/archive/2010/08/07/sharepoint-2010-profiel-synchronisatie-export.aspx
https://blogs.microsoft.nl/blogs/mpriem/archive/2010/08/08/sharepoint-2010-social-tags-notes-en-user-ratings.aspx
https://blogs.microsoft.nl/blogs/mpriem/archive/2010/08/13/sharepoint-2010-my-sites.aspx

Timerjobs

De User Profile Service leunt op een groot scala aan timerjobs. De volgende lijst geeft daarvan een overzicht.

  • User Profile Service - Activity Feed Cleanup Job
    Ruimt activiteiten ouder dan 14 dagen op data op uit de Social Database.
  • User Profile Service - Activity Feed Job
    Verzamelt informatie op basis van changelogs in de Social en Profile database, en maakt daar activiteiten van die getoont kunnen worden in bijv. News Feeds.
  • User Profile Service - Audience Compilation Job
    Voorziet profiles van Audience lidmaatschap.
  • User Profile Service - My Site Suggestions Email Job
    Stuurt emails rondom My Sites. Bijvoorbeeld herinnerings emails als de My Site al enige tijd niet is bijgewerkt.
  • User Profile Service - Social Data Maintenance Job
    Voert administratieve taken uit rondom Social data, zoals het opschonen van changelogs in de Social Database, het aanpassen van Tags en notes na wijzigingen in termstores en profiles toevoegen aan crawls, wanneer social data wijzigt.
  • User Profile Service - Social Rating Synchronization Job
    Zorgt voor het synchroniseren van Rating informatie tussen Social database en content databases.
  • User Profile Service - System Job to Manage User Profile Synchronization
    Maakt elke minuut connectie met Forefront Identity Manager om status informatie op te halen of taken af te trappen.
  • User Profile Service - User Profile Change Cleanup Job
    Schoont de change log op in de User Profile database.
  • User Profile Service - User Profile Change Job
    Verwerkt wijzigingen aan User Profiles.
  • User Profile Service - User Profile Incremental Synchronization
    Stuurt incremental profile synchronization aan.
  • User Profile Service - User Profile Language Synchronization Job
    Zorgt bij nieuwe language packs, dat localized strings in de profielen worden aangepast.
  • User Profile Service - User Profile to SharePoint Full Synchronization
    Verzorgt de profiel synchronisatie tussen Profile database en content databases (Server naar Foundation profielen), en haalt memberships op.
  • User Profile Service - User Profile to SharePoint Quick Synchronization
    Zorgt voor profiel synchronisatie van nieuwe gebruikers vanuit Profile database naar content databases.
  • My Site Cleanup Job
    Start bij het verwijderen van een profiel uit de profiel database een workflow, waarbij de manager site owner wordt en een email krijgt. De workflow is aan te passen.

Powershell CmdLets

Voor diegene die liever met Powershell werkt, is de User Profile Service, zoals nagenoeg elke Service Application, prima te beheren via Powershell. De volgende Powershell CmdLets zijn te gebruiken:

Cmdlet name 

Omschrijving

Syntax 

Add-SPSiteSubscriptionProfileConfig  

Voegt in multi-tenant scenarios een nieuwe site subscription toe aan de Service Application. 

Add-SPSiteSubscriptionProfileConfig [-Identity] <SPSiteSubscriptionPipeBind> -ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-MySiteHostLocation <SPSitePipeBind>] [-SynchronizationOU <String>] [-WhatIf [<SwitchParameter>]]

Get-SPProfileServiceApplicationSecurity

Laat security informatie zien over de Service Application. 

Get-SPProfileServiceApplicationSecurity -ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-SiteSubscription <SPSiteSubscriptionPipeBind>] [-Type <String>]

Move-SPProfileManagedMetadataProperty  

Verplaatst Profile Property naar een managed termset in de Managed Metadata Service. Wanneer je geen termset opgeeft komt deze in de Keywords term set te staan. 

Move-SPProfileManagedMetadataProperty -Identity <String> -ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-AvailableForTagging <SwitchParameter>] [-Confirm [<SwitchParameter>]] [-TermSetName <String>] [-WhatIf [<SwitchParameter>]]

New-SPProfileServiceApplication  

Maakt een nieuwe User Profile Service Application aan 

New-SPProfileServiceApplication -ApplicationPool <SPIisWebServiceApplicationPoolPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-MySiteHostLocation <SPSitePipeBind>] [-Name <String>] [-PartitionMode <SwitchParameter>] [-ProfileDBCredentials <PSCredential>] [-ProfileDBFailoverServer <String>] [-ProfileDBName <String>] [-ProfileDBServer <String>] [-ProfileSyncDBCredentials <PSCredential>] [-ProfileSyncDBFailoverServer <String>] [-ProfileSyncDBName <String>] [-ProfileSyncDBServer <String>] [-SocialDBCredentials <PSCredential>] [-SocialDBFailoverServer <String>] [-SocialDBName <String>] [-SocialDBServer <String>] [-WhatIf [<SwitchParameter>]]

New-SPProfileServiceApplicationProxy  

Maakt een nieuwe User Profile Service Application Proxy aan 

New-SPProfileServiceApplicationProxy -Uri <Uri> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-DefaultProxyGroup <SwitchParameter>] [-Name <String>] [-PartitionMode <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

Remove-SPSiteSubscriptionProfileConfig  

Verwijdert in multi-tenant scenarios een site subscription van de Service Application. 

Remove-SPSiteSubscriptionProfileConfig [-Identity] <SPSiteSubscriptionPipeBind> -ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]

Remove-SPSocialItemByDate

Verwijdert Tags, notes, of ratings uit de Social Databases.

Remove-SPSocialItemByDate -EndDate <DateTime> -ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-RemoveComments <$true | $false>] [-RemoveRatings <$true | $false>] [-RemoveTags <$true | $false>] [-SiteSubscription <SPSiteSubscriptionPipeBind>] [-WhatIf [<SwitchParameter>]]

Set-SPProfileServiceApplication  

Wijzigt eigenschappen van de User Profile Service Application.

Set-SPProfileServiceApplication [-Identity] <SPServiceApplicationPipeBind> [-ApplicationPool <SPIisWebServiceApplicationPoolPipeBind>] [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-GetNonImportedObjects <$true | $false>] [-MySiteHostLocation <SPSitePipeBind>] [-Name <String>] [-ProfileDBCredentials <PSCredential>] [-ProfileDBFailoverServer <String>] [-ProfileSyncDBCredentials <PSCredential>] [-ProfileSyncDBFailoverServer <String>] [-PurgeNonImportedObjects <$true | $false>] [-SocialDBCredentials <PSCredential>] [-SocialDBFailoverServer <String>] [-UseOnlyPreferredDomainControllers <$true | $false>] [-WhatIf [<SwitchParameter>]]

Set-SPProfileServiceApplicationProxy  

Wijzigt de eigenschappen van een User Profile Service Application Proxy.

Set-SPProfileServiceApplicationProxy [-Identity] <SPServiceApplicationProxyPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-DefaultProxyGroup <SwitchParameter>] [-MySiteHostLocation <SPSitePipeBind>] [-MySiteManagedPath <SPPrefixPipeBind>] [-Name <String>] [-SiteNamingConflictResolution <String>] [-WhatIf [<SwitchParameter>]]

Set-SPProfileServiceApplicationSecurity  

Wijzigt security informatie van een Service Application.

Set-SPProfileServiceApplicationSecurity -Identity <SPObjectSecurity> -ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-SiteSubscription <SPSiteSubscriptionPipeBind>] [-Type <String>] [-WhatIf [<SwitchParameter>]]

Set-SPSiteSubscriptionProfileConfig  

Wijzigt de eigenschappen van een site subscription in een multitenant scenario. 

Set-SPSiteSubscriptionProfileConfig [-Identity] <SPSiteSubscriptionPipeBind> -ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-MySiteHostLocation <SPSitePipeBind>] [-SynchronizationOU <String>] [-WhatIf [<SwitchParameter>]]

Update-SPProfilePhotoStore  

Update een profile photo store om te kunnen werken met Microsoft SharePoint Server 2010.Alleen te gebruiken na een upgrade van Sharepoint 2007 naar 2010.

Update-SPProfilePhotoStore -MySiteHostLocation <SPSitePipeBind> [-AssignmentCollection <SPAssignmentCollection>]

 

De volledige blog serie bestaat uit:

  1. https://blogs.microsoft.nl/blogs/mpriem/archive/2010/08/07/sharepoint-2010-user-profile-service.aspx
  2. https://blogs.microsoft.nl/blogs/mpriem/archive/2010/08/07/sharepoint-2010-profiel-synchronisatie-import.aspx
  3. https://blogs.microsoft.nl/blogs/mpriem/archive/2010/08/07/sharepoint-2010-profiel-synchronisatie-export.aspx
  4. https://blogs.microsoft.nl/blogs/mpriem/archive/2010/08/08/sharepoint-2010-social-tags-notes-en-user-ratings.aspx
  5. https://blogs.microsoft.nl/blogs/mpriem/archive/2010/08/13/sharepoint-2010-my-sites.aspx
  6. https://blogs.microsoft.nl/blogs/mpriem/archive/2010/08/13/sharepoint-2010-user-profile-service-timerjobs-en-cmdlets