Applies to: Exchange Online, Exchange Server 2016

This cmdlet is available in on-premises Exchange Server 2016 and in the cloud-based service. Some parameters and settings may be exclusive to one environment or the other.

Use the Get-SearchDocumentFormat cmdlet to retrieve details of file formats supported by Exchange Search.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Get-SearchDocumentFormat [-Identity <SearchDocumentFormatId>] [-Server <ServerIdParameter>]

This example retrieves a list of all file formats supported by Exchange Search.


This example retrieves all properties of the docx file format.

Get-SearchDocumentFormat docx | Format-List *

Exchange Search includes built-in support for indexing many file formats. Output from the Get-SearchDocumentFormat cmdlet includes details about each supported file format, including whether content indexing is enabled for the file format, the format handler, and the file extension (such as .docx).

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Exchange Search - diagnostics" entry in the Recipients Permissions topic.


Parameter Required Type Description




The Identity parameter specifies the identity of a file format.




This parameter is available only in on-premises Exchange 2016.

The Server parameter specifies the name of the server against which the command is executed.

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.