API Reference
Cmdlet
ConvertTo-OfficePdfMarkdown
Converts PDF logical text readback to Markdown.
Remarks
Converts PDF logical text readback to Markdown.
Examples
Export logical PDF text as Markdown.
PS>
$markdownPath = '.\Examples\Documents\Report.md'
ConvertTo-OfficePdfMarkdown -Path .\Examples\Documents\Report.pdf -PageRange '1-3' -OutputPath $markdownPath
Get-Content $markdownPath -TotalCount 20
Writes Markdown readback for selected pages to a file.
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.
Syntax
ConvertTo-OfficePdfMarkdown [-OutputPath <String>] [-PageRange <String>] [-Password <String>] -Path <String> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- OutputPath String
- Optional output Markdown file path.
- PageRange String
- Optional page ranges such as 1-3,5.
- Password String
- Password used to read a Standard password-encrypted PDF.
- Path String
- PDF file path.
Outputs
System.String System.IO.FileInfo