Export (0) Print
Expand All
Expand Minimize

Get-SPEnterpriseSearchFileFormat

SharePoint 2013
 

Applies to: SharePoint Server 2013 Standard, SharePoint Server 2013 Enterprise, SharePoint Foundation 2013

Topic Last Modified: 2014-06-16

Retrieves all file formats that the parsing system has format handlers for.

Get-SPEnterpriseSearchFileFormat [[-Identity] <DocumentParserFileFormatPipeBind>] -SearchApplication <SearchServiceApplicationPipeBind> [-AssignmentCollection <SPAssignmentCollection>]

The Get-SPEnterpriseSearchFileFormat cmdlet retrieves the following information about the specified file format:

  • The file name extension.

  • The mime type of the file format.

  • The type of format handler the content processing component by default uses to parse the format. The entry "BuiltIn:True" indicates a built-in format handler. The entry "BuiltIn:False" indicates a third-party filter-based format handler (iFilter).

  • The parsing state for the format. The entry "Enabled:True" indicates that parsing is enabled. The entry "Enabled:False" indicates that parsing is disabled.

  • The use of a third-party iFilter to parse the file format. The entry "UseIFilter:True" indicates that the content processing component is set to use a third-party iFilter when parsing the file format.

If you do not specify a format ID, the cmdlet returns the list of information for all the file formats that the content processing component has format handlers for.

 

Parameter Required Type Description

Identity

Optional

Microsoft.Office.Server.Search.Cmdlet.DocumentParserFileFormatPipeBind

Specifies the format ID for which to retrieve file format information.

SearchApplication

Required

Microsoft.Office.Server.Search.Cmdlet.SearchServiceApplicationPipeBind

Specifies the Search application for which to retrieve file format information. The type must be a valid GUID, in the form 12345678-90ab-cdef-1234-567890bcdefgh; a valid search application name (for example, SearchApp1); or an instance of a valid SearchServiceApplication object.

AssignmentCollection

Optional

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

NoteNote:
When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

-------------EXAMPLE 1-------------

$ssa = Get-SPEnterpriseSearchServiceApplication
Get-SPEnterpriseSearchFileFormat -SearchApplication $ssa

This example uses the Get-SPEnterpriseSearchFileFormat to retrieve all file formats that the Search service application referenced by $ssa has format handlers for.

-------------EXAMPLE 2-------------

$ssa = Get-SPEnterpriseSearchServiceApplication
Get-SPEnterpriseSearchFileFormat -SearchApplication $ssa zip

This example uses the Get-SPEnterpriseSearchFileFormat cmdlet to retrieve information about the file format "zip" in the Search service application referenced by $ssa. The result is as follows:

Identity :zipName :ZIP ArchiveMimeType :application/zipExtension :.zipBuiltIn :TrueEnabled :FalseUseIFilter :False

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft