Cmdlet
ConvertTo-OfficePdfMarkdown
Converts PDF logical text readback to Markdown.
Syntax
ConvertTo-OfficePdfMarkdown [-IgnorePermissionRestrictions] [-OutputPath <String>] [-PageRange <String>] [-Password <String>] [-Path] <String> [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Export logical PDF text as Markdown.
$markdownPath = '.\Examples\Documents\Report.md'
ConvertTo-OfficePdfMarkdown -Path .\Examples\Documents\Report.pdf -PageRange '1-3' -OutputPath $markdownPath
Get-Content $markdownPath -TotalCount 20Writes Markdown readback for selected pages to a file.
Parameters
- -IgnorePermissionRestrictions SwitchParameter
- After successful password authentication, explicitly ignore owner-imposed extraction restrictions.
- -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.
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.