Cmdlet
Unprotect-OfficeExcelSheet
Removes worksheet protection.
Syntax
Examples
Unprotect the active sheet.
ExcelSheet 'Data' { Unprotect-OfficeExcelSheet }Removes worksheet protection.
Parameters
- -PassThru SwitchParameter
- Emit the worksheet after removing protection.
- -Document ExcelDocument
- Workbook to operate on outside the DSL context.
- -Sheet String
- Worksheet name when using Document.
- -SheetIndex Int32
- Worksheet index (0-based) when using Document.
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.