SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To do the above task manually we can go to the Site Actions -> Site Settings -> Site Collection Administration -> Content Type Publishing and checked the Refresh all published content types on next update. My question is how do I do the same thing via Powershell.


share|improve this question
up vote 1 down vote accepted

There's no easy simple command. But to have some understanding on the architecture of this settings and make your own powershell function check out this article.

share|improve this answer
I usually googled a lot to find solution for my problem. If I can't find it, only then I will ask my question here. So, I've been to that site before posting my question. Anyway, thanks for trying to help me. – Agamand The True Oct 10 '12 at 8:16
So with the help of that post u could not solve your problem? Can you please elaborate what's the problem you are hitting presently? – Diptarag Oct 10 '12 at 8:18
Is there a cmdlets that can set the the Refresh all published content types to true. (checkbox is checked) – Agamand The True Oct 11 '12 at 5:39

Why not just publish the specific content types?


$site = $contentType.ParentWeb.Site
$publisher = New-Object Microsoft.SharePoint.Taxonomy.ContentTypeSync.ContentTypePublisher $site

# Start timer jobs
Start-SPTimerJob -Identity "MetadataHubTimerJob"
Get-SPWebApplication | Get-SPTimerJob -Identity "MetadataSubscriberTimerJob" | Start-SPTimerJob
share|improve this answer

There is a product out there that publishes content types of your choice automatically with a click of a button (instead of the manual steps and effort that is currently required):

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.