| external help file | Module Name | online version | schema |
|---|---|---|---|
PSWriteOffice-help.xml |
PSWriteOffice |
2.0.0 |
Removes worksheet protection.
Unprotect-OfficeExcelSheet [-PassThru] [<CommonParameters>]Unprotect-OfficeExcelSheet -Document <ExcelDocument> [-Sheet <string>] [-SheetIndex <int>] [-PassThru] [<CommonParameters>]Removes worksheet protection.
PS>ExcelSheet 'Data' { Unprotect-OfficeExcelSheet }Removes worksheet protection.
Workbook to operate on outside the DSL context.
Type: ExcelDocument
Parameter Sets: Document
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: TrueEmit the worksheet after removing protection.
Type: SwitchParameter
Parameter Sets: Context, Document
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueWorksheet name when using Document.
Type: String
Parameter Sets: Document
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueWorksheet index (0-based) when using Document.
Type: Nullable`1
Parameter Sets: Document
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.
OfficeIMO.Excel.ExcelDocument
System.Object
- None