Project

PSWriteOffice

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

Stars 654
Forks 82
Open issues 1
Total downloads 4,320,051
Release OfficeIMO-v3.5.3
Language: C# Updated: 2026-11-03
Cmdlet

ConvertTo-OfficePdfExcel

Aliases: ConvertTo-PdfExcel
Module
PSWriteOffice
Aliases
ConvertTo-PdfExcel
Inputs
System.String
Outputs
System.IO.FileInfo OfficeIMO.Excel.Pdf.PdfExcelTableImportReport

Extracts detected PDF tables into an editable Excel workbook.

Syntax

ConvertTo-OfficePdfExcel
[-Force]
[-IgnorePermissionRestrictions]
[-Open]
[-Options <PdfTablesToExcelOptions>]
[-OutputPath] <String>
[-PassThruReport]
[-Password <String>]
[-Path] <String>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Uses OfficeIMO's logical table reconstruction, including typed numeric, Boolean, date, and percentage columns plus multi-page table continuation handling.

Examples

Convert detected PDF tables to Excel.

ConvertTo-OfficePdfExcel -Path .\Statement.pdf -OutputPath .\Statement.xlsx

Writes an XLSX workbook with one table per detected logical table.

Parameters

-Force SwitchParameter optional
Overwrite an existing output file.
-IgnorePermissionRestrictions SwitchParameter optional
After successful authentication, explicitly ignore owner-imposed extraction restrictions.
-Open SwitchParameter optional
Open the converted workbook after saving.
-Options PdfTablesToExcelOptions optional
Advanced OfficeIMO PDF-table-to-Excel options.
-OutputPath String requiredposition: 1aliases: OutPath
Output XLSX path.
-PassThruReport SwitchParameter optional
Return the detailed table import report instead of file information.
-Password String optional
Password used to authenticate an encrypted PDF.
-Path String requiredposition: 0pipeline: True (ByValue)aliases: FilePath
Input PDF path.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.