Cmdlet
ConvertTo-OfficePdfWord
Reconstructs editable Word content from a PDF.
Syntax
ConvertTo-OfficePdfWord
[-Force]
[-IgnorePermissionRestrictions]
[-Open]
[-Options <PdfToWordOptions>]
[-OutputPath] <String>
[-PassThruReport]
[-Password <String>]
[-Path] <String>
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Uses OfficeIMO's semantic PDF reader to recover supported headings, paragraphs, lists, tables, links, images, metadata, and page breaks.
Examples
Convert a PDF to an editable Word document.
ConvertTo-OfficePdfWord -Path .\Report.pdf -OutputPath .\Report.docxWrites a DOCX document and returns its file information.
Parameters
- -Force SwitchParameter
- Overwrite an existing output file.
- -IgnorePermissionRestrictions SwitchParameter
- After successful authentication, explicitly ignore owner-imposed extraction restrictions.
- -Open SwitchParameter
- Open the converted document after saving.
- -Options PdfToWordOptions
- Advanced OfficeIMO PDF-to-Word reconstruction options.
- -OutputPath String
- Output DOCX path.
- -PassThruReport SwitchParameter
- Return the detailed conversion report instead of file information.
- -Password String
- Password used to authenticate an encrypted PDF.
- -Path String
- 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.