API Reference
Cmdlet
Export-OfficeExcelGoogleSpreadsheet
Plans, compiles, or exports an Excel workbook to Google Sheets.
Remarks
Plans, compiles, or exports an Excel workbook to Google Sheets.
Examples
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:
PathParameters
- AsBatch SwitchParameter
- Return the provider-neutral request batch without contacting Google.
- FailOnLoss SwitchParameter
- Throw when translation reports a warning or error.
- Options GoogleSheetsSaveOptions
- Google Sheets translation and destination settings.
- Path String
- Path to an Excel workbook.
- PlanOnly SwitchParameter
- Return the translation plan without compiling requests or contacting Google.
- Session GoogleWorkspaceSession
- 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:
DocumentParameters
- AsBatch SwitchParameter
- Return the provider-neutral request batch without contacting Google.
- Document ExcelDocument
- Excel workbook to export.
- FailOnLoss SwitchParameter
- Throw when translation reports a warning or error.
- Options GoogleSheetsSaveOptions
- Google Sheets translation and destination settings.
- PlanOnly SwitchParameter
- Return the translation plan without compiling requests or contacting Google.
- Session GoogleWorkspaceSession
- Configured Google Workspace session used for a live export.
Outputs
OfficeIMO.Excel.GoogleSheets.GoogleSheetsTranslationPlan OfficeIMO.Excel.GoogleSheets.GoogleSheetsBatch OfficeIMO.Excel.GoogleSheets.GoogleSpreadsheetReference