Cmdlet
Export-OfficeExcelGoogleSpreadsheet
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:
PathExport-OfficeExcelGoogleSpreadsheet
[-AsBatch]
-Document <ExcelDocument>
[-FailOnLoss]
[-Options <GoogleSheetsSaveOptions>]
[-PlanOnly]
[-Session <GoogleWorkspaceSession>]
[<CommonParameters>]#Parameter set:
DocumentExamples
Example 1
Export-OfficeExcelGoogleSpreadsheet -Path 'C:\Path'Example 2
Export-OfficeExcelGoogleSpreadsheet -Document 'Value'Parameters
- -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.
- -Document ExcelDocument
- 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.