API Reference

Cmdlet

Get-OfficeOpenDocument

Namespace PSWriteOffice
Inputs
System.String
Outputs
OfficeIMO.OpenDocument.OdfDocument OfficeIMO.OpenDocument.OdtDocument OfficeIMO.OpenDocument.OdsDocument OfficeIMO.OpenDocument.OdpPresentation

Loads a native ODT, ODS, or ODP document.

Remarks

Loads a native ODT, ODS, or ODP document.

Examples

Authored help example

EXAMPLE 1


Get-OfficeOpenDocument -Path 'C:\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.

Syntax

Get-OfficeOpenDocument [-Options <OdfLoadOptions>] -Path <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Options OdfLoadOptions optionalposition: namedpipeline: False
Optional bounded package and XML settings.
Path String requiredposition: 0pipeline: True (ByValue)
Path to an ODT, ODS, or ODP file.

Outputs

OfficeIMO.OpenDocument.OdfDocument OfficeIMO.OpenDocument.OdtDocument OfficeIMO.OpenDocument.OdsDocument OfficeIMO.OpenDocument.OdpPresentation