API Reference

Cmdlet

Export-OfficeExcelGoogleSpreadsheet

Namespace 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.

Remarks

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

Examples

Authored help example

EXAMPLE 1


Export-OfficeExcelGoogleSpreadsheet -Path 'C:\Path'
        

EXAMPLE 2


Export-OfficeExcelGoogleSpreadsheet -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-OfficeExcelGoogleSpreadsheet [-AsBatch] [-FailOnLoss] [-Options <GoogleSheetsSaveOptions>] -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 GoogleSheetsSaveOptions optionalposition: namedpipeline: False
Google Sheets translation and destination settings.
Path String requiredposition: 0pipeline: False
Path to an Excel workbook.
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.Excel.GoogleSheets.GoogleSheetsTranslationPlan OfficeIMO.Excel.GoogleSheets.GoogleSheetsBatch OfficeIMO.Excel.GoogleSheets.GoogleSpreadsheetReference

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

Parameters

AsBatch SwitchParameter optionalposition: namedpipeline: False
Return the provider-neutral request batch without contacting Google.
Document ExcelDocument requiredposition: namedpipeline: True (ByValue)
Excel workbook to export.
FailOnLoss SwitchParameter optionalposition: namedpipeline: False
Throw when translation reports a warning or error.
Options GoogleSheetsSaveOptions optionalposition: namedpipeline: False
Google Sheets 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.Excel.GoogleSheets.GoogleSheetsTranslationPlan OfficeIMO.Excel.GoogleSheets.GoogleSheetsBatch OfficeIMO.Excel.GoogleSheets.GoogleSpreadsheetReference