Cmdlet
New-OfficeExcelGoogleSheetsOptions
Creates native Excel-to-Google-Sheets planning and export settings without contacting Google.
Syntax
New-OfficeExcelGoogleSheetsOptions
[-Charts <Error| WarnAndSkip| Flatten| Rasterize>]
[-DomainUsersCanEdit]
[-DriveId <String>]
[-Editor <String[]>]
[-ExpectedDriveVersion <Int64>]
[-FolderId <String>]
[-FunctionMapping <Hashtable>]
[-Locale <String>]
[-PivotTables <Error| WarnAndSkip| Flatten| Rasterize>]
[-PrintLayout <Error| WarnAndSkip| Flatten| Rasterize>]
[-RecalculationInterval <OnChange| Minute| Hour>]
[-SpreadsheetId <String>]
[-TimeZone <String>]
[-Title <String>]
[-UnsupportedFormula <Error| PreserveWithWarning| UseCachedValue>]
[<CommonParameters>]#Parameter set:
DefaultExamples
Review a workbook with explicit formula and chart policies before uploading it.
$options = New-OfficeExcelGoogleSheetsOptions -Title 'Quarterly forecast' -UnsupportedFormula PreserveWithWarning
Export-OfficeExcelGoogleSpreadsheet -Document $workbook -Options $options -Mode PlanParameters
- -Charts UnsupportedFeatureMode
- Policy for charts without a reliable native equivalent. Omission retains the native default.
- Possible values:
Error,WarnAndSkip,Flatten,Rasterize - -DomainUsersCanEdit SwitchParameter
- Whether domain users may edit protected content. Omission preserves the native policy.
- -DriveId String
- Shared-drive identifier. Omission retains the native default.
- -Editor String[]
- Editor email addresses for translated protected ranges.
- -ExpectedDriveVersion Int64
- Drive version observed before replacement; the native exporter checks for changes. Omission retains the native default.
- -FolderId String
- Drive destination folder identifier. Omission retains the native default.
- -FunctionMapping Hashtable
- Function-name replacements; keys and values are native formula function names.
- -Locale String
- Target spreadsheet locale. Omission retains the native default.
- -PivotTables UnsupportedFeatureMode
- Policy for unsupported pivot tables. Omission retains the native default.
- Possible values:
Error,WarnAndSkip,Flatten,Rasterize - -PrintLayout UnsupportedFeatureMode
- Policy for print layout without an equivalent. Omission retains the native default.
- Possible values:
Error,WarnAndSkip,Flatten,Rasterize - -RecalculationInterval GoogleSheetsRecalculationInterval
- When the target recalculates formulas. Omission retains the native default.
- Possible values:
OnChange,Minute,Hour - -SpreadsheetId String
- Existing spreadsheet identifier for replacement. Omission retains the native default.
- -TimeZone String
- Target spreadsheet time zone. Omission retains the native default.
- -Title String
- Title of a new spreadsheet. Omission retains the native default.
- -UnsupportedFormula GoogleSheetsUnsupportedFormulaMode
- Policy for formulas that cannot be translated. Omission retains the native default.
- Possible values:
Error,PreserveWithWarning,UseCachedValue
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.