Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Export-OfficeExcelGoogleSpreadsheet

Module PSWriteOffice
Inputs
OfficeIMO.Excel.ExcelDocument
Outputs
OfficeIMO.Excel.GoogleSheets.GoogleSheetsTranslationPlan OfficeIMO.Excel.GoogleSheets.GoogleSheetsBatch OfficeIMO.Excel.GoogleSheets.GoogleSpreadsheetReference

Plans, compiles, or exports an Excel workbook to Google Sheets.

Syntax

Export-OfficeExcelGoogleSpreadsheet [-AsBatch] [-FailOnLoss] [-Options <GoogleSheetsSaveOptions>] [-Path] <String> [-PlanOnly] [-Session <GoogleWorkspaceSession>] [<CommonParameters>]
#
Parameter set: Path
Export-OfficeExcelGoogleSpreadsheet [-AsBatch] -Document <ExcelDocument> [-FailOnLoss] [-Options <GoogleSheetsSaveOptions>] [-PlanOnly] [-Session <GoogleWorkspaceSession>] [<CommonParameters>]
#
Parameter set: Document

Examples

Authored help example

EXAMPLE 1

Export-OfficeExcelGoogleSpreadsheet -Path 'C:\Path'

EXAMPLE 2

Export-OfficeExcelGoogleSpreadsheet -Document 'Value'

Parameters

-AsBatch SwitchParameter optional
Return the provider-neutral request batch without contacting Google.
-FailOnLoss SwitchParameter optional
Throw when translation reports a warning or error.
-Options GoogleSheetsSaveOptions optional
Google Sheets translation and destination settings.
-Path String requiredposition: 0sets: Path
Path to an Excel workbook.
-PlanOnly SwitchParameter optional
Return the translation plan without compiling requests or contacting Google.
-Session GoogleWorkspaceSession optional
Configured Google Workspace session used for a live export.
-Document ExcelDocument requiredpipeline: True (ByValue)sets: Document
Excel workbook to export.

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.