Cmdlet
Get-OfficeMarkdownTable
Gets Markdown tables from a Markdown document.
Syntax
Get-OfficeMarkdownTable
[-AsObject]
[-Document <MarkdownDocument>]
[<CommonParameters>]#Parameter set:
DocumentGet-OfficeMarkdownTable
[-AsObject]
[-Options <Object[]>]
[-Path] <String>
[<CommonParameters>]#Parameter set:
PathGet-OfficeMarkdownTable
[-AsObject]
-LiteralPath <String>
[-Options <Object[]>]
[<CommonParameters>]#Parameter set:
LiteralPathGet-OfficeMarkdownTable
[-AsObject]
[-Options <Object[]>]
-Text <String>
[<CommonParameters>]#Parameter set:
TextExamples
Read tables as PowerShell objects.
Open-OfficeMarkdown -Path .\Report.md | Get-OfficeMarkdownTable -AsObjectReturns table rows as PowerShell objects using the Markdown header row as property names.
Parameters
- -AsObject SwitchParameter
- Emit table rows as PowerShell objects instead of raw table blocks.
- -Document MarkdownDocument
- Caller-owned document; omission uses the enclosing Markdown document.
- -Options Object[]
- Native reader options and optional native-property hashtable overrides.
- -Path String
- Input file with FileSystem wildcard expansion.
- -LiteralPath String
- Literal input file, including a FileInfo pipeline.
- -Text String
- Markdown source text.
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.