Configure the Content Type Hub
Scenario/Problem: You need to set or change the content type hub which should be used by the metadata service application.
Solution: Use the Set-SPMetadataServiceApplication
cmdlet with the HubUri
parameter.
The content type hub is the site collection you want to use as your main content type gallery. The metadata service application uses the specified content type hub to consume the content types that exist within the site collection. You can set the content type hub using the HubUri
parameter with the Set-SPMetadataServiceApplication
cmdlet, as shown in Listing 17.5.
Set-SPMetadataServiceApplication -Identity "Managed Metadata Service"-HubUri "http://sp2013"
Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.