Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $site = $contentType.ParentWeb.Site
- $publisher = New-Object Microsoft.SharePoint.Taxonomy.ContentTypeSync.ContentTypePublisher $site
- $publisher.Publish($contentType)
- # Start timer jobs
- Start-SPTimerJob -Identity "MetadataHubTimerJob"
- Get-SPWebApplication | Get-SPTimerJob -Identity "MetadataSubscriberTimerJob" | Start-SPTimerJob
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement