# Search Across Office and Document Files

Search Across Office and Document Files on Evotec with installation guidance, setup notes, reference details, and project documentation.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice)

Stars**750**

Forks**87**

Open issues**8**

PowerShell Gallery downloads**5533821**

Release**v3.6.2**

Language: C# Updated: 2026-11-28

Documentation

Search a bounded folder or explicit file set across Word, Excel, PowerPoint, PDF, Markdown, email, and other Reader-supported formats.

Use Reader search when the question spans formats: find a policy term across reports, spreadsheets, presentations, PDFs, Markdown notes, and mail stores without writing one parser per file type.

## Bound the search

```powershell
$matches = Search-OfficeDocument -Path '.\Evidence' -Recurse `
    -Query 'Retention policy' -Extension docx,xlsx,pptx,pdf,md `
    -MaxDocuments 500 -MaximumResults 200 -MaxDegreeOfParallelism 4
```

Document, result, store-item, and concurrency limits are safety and predictability controls. Use `-NoDocumentLimit`, `-AllResults`, or `-AllStoreItems` only when the input scope is already controlled. Extension filters are applied before files consume the document ceiling.

The [search-folder recipe](https://github.com/EvotecIT/PSWriteOffice/blob/main/Examples/Reader/Recipe-Reader-SearchFolder.ps1) searches a mixed `.\Documents` folder with one command and selects the useful result fields.

Use `-IncludePageLocations` when page-aware PDF or paged-document results matter. For downstream retrieval or indexing, continue with [chunks and tables](/projects/pswriteoffice/docs/reader-chunks-tables/).

<!-- PowerForge markdown artifact sha256:68E46315C85C69F08CAD9647A3DA1F45CE1A780376D8EC795E79D42879E80741 -->
