Cmdlet
Open-OfficeRtf
Reads an RTF file or RTF text into a read result with the document, embedded payloads and diagnostics.
Syntax
Examples
Use the native OfficeRtf command.
$rtf = Open-OfficeRtf -Path .\Contract.rtfParameters
- -AsResult SwitchParameter
- AsResult for this operation.
- -Path String
- Path for this operation.
- -LiteralPath String
- LiteralPath for this operation.
- -Text String
- Text for this operation.
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.