Display Available Metadata Categories

Scenario/Problem: You want to view the information on the available search metadata categories.

Solution: Use the Get-SPEnterpriseSearchMetadataCategory cmdlet.

The Get-SPEnterpriseSearchMetadataCategory cmdlet provides information on the Enterprise Search metadata categories configured for a particular search service application. Therefore, you need to provide a search service application with this cmdlet, as shown in Listing 13.9.

Listing 13.9. Displaying the Search Metadata Categories

$ssApp = Get-SPEnterpriseSearchServiceApplication-Identity 81aedaf7-704c-47f4-8173-5e99a7495ac3Get-SPEnterpriseSearchMetadataCategory -SearchApplication $ssApp

The Enterprise Search Service metadata categories are displayed, ...

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.