| external help file | PSWriteOffice-help.xml |
|---|---|
| Module Name | PSWriteOffice |
| online version | https://github.com/EvotecIT/PSWriteOffice |
| schema | 2.0.0 |
Opens an existing Excel workbook.
Get-OfficeExcel [-InputPath] <string> [-ReadOnly] [-AutoSave] [<CommonParameters>]Opens an existing Excel workbook.
PS>$workbook = Get-OfficeExcel -Path .\report.xlsx -ReadOnlyLoads report.xlsx for inspection without enabling writes.
Enable automatic saves on the underlying document.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TruePath to the workbook to load.
Type: String
Parameter Sets: __AllParameterSets
Aliases: Path, FilePath
Possible values:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOpen the file in read-only mode.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
None
System.Object
- None