API Reference

Cmdlet

Export-OfficeWordGoogleDocument

Namespace PSWriteOffice
Inputs
OfficeIMO.Word.WordDocument
Outputs
OfficeIMO.Word.GoogleDocs.GoogleDocsTranslationPlan OfficeIMO.Word.GoogleDocs.GoogleDocsBatch OfficeIMO.Word.GoogleDocs.GoogleDocumentReference

Plans, compiles, or exports a Word document to Google Docs.

Remarks

Plans, compiles, or exports a Word document to Google Docs.

Examples

Authored help example

EXAMPLE 1


Export-OfficeWordGoogleDocument -Path 'C:\Path'
        

EXAMPLE 2


Export-OfficeWordGoogleDocument -Document 'Value'
        

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

Export-OfficeWordGoogleDocument [-AsBatch] [-FailOnLoss] [-Options <GoogleDocsSaveOptions>] -Path <String> [-PlanOnly] [-Session <GoogleWorkspaceSession>] [<CommonParameters>]
#
Parameter set: Path

Parameters

AsBatch SwitchParameter optionalposition: namedpipeline: False
Return the provider-neutral request batch without contacting Google.
FailOnLoss SwitchParameter optionalposition: namedpipeline: False
Throw when translation reports a warning or error.
Options GoogleDocsSaveOptions optionalposition: namedpipeline: False
Google Docs translation and destination settings.
Path String requiredposition: 0pipeline: False
Path to a Word document.
PlanOnly SwitchParameter optionalposition: namedpipeline: False
Return the translation plan without compiling requests or contacting Google.
Session GoogleWorkspaceSession optionalposition: namedpipeline: False
Configured Google Workspace session used for a live export.

Outputs

OfficeIMO.Word.GoogleDocs.GoogleDocsTranslationPlan OfficeIMO.Word.GoogleDocs.GoogleDocsBatch OfficeIMO.Word.GoogleDocs.GoogleDocumentReference

Export-OfficeWordGoogleDocument [-AsBatch] -Document <WordDocument> [-FailOnLoss] [-Options <GoogleDocsSaveOptions>] [-PlanOnly] [-Session <GoogleWorkspaceSession>] [<CommonParameters>]
#
Parameter set: Document

Parameters

AsBatch SwitchParameter optionalposition: namedpipeline: False
Return the provider-neutral request batch without contacting Google.
Document WordDocument requiredposition: namedpipeline: True (ByValue)
Word document to export.
FailOnLoss SwitchParameter optionalposition: namedpipeline: False
Throw when translation reports a warning or error.
Options GoogleDocsSaveOptions optionalposition: namedpipeline: False
Google Docs translation and destination settings.
PlanOnly SwitchParameter optionalposition: namedpipeline: False
Return the translation plan without compiling requests or contacting Google.
Session GoogleWorkspaceSession optionalposition: namedpipeline: False
Configured Google Workspace session used for a live export.

Outputs

OfficeIMO.Word.GoogleDocs.GoogleDocsTranslationPlan OfficeIMO.Word.GoogleDocs.GoogleDocsBatch OfficeIMO.Word.GoogleDocs.GoogleDocumentReference