Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


SharePoint 2013

Updated: June 18, 2013

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

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

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


Parameter Required Type Description




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




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.




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.

note Note:

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.

Detailed Description

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

  • The file name extension.

  • The mime type of the format.

  • The type of format handler the content processing component 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.

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

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.

Input Types

Return Types

-------------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  :zip
Name :ZIP Archive
MimeType :application/zip
Extension :.zip
BuiltIn :True
Enabled :False

Change History

Date Description

June 18, 2013

Added a description of the information that the cmdlet returns.

July 16, 2012

Initial publication

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.