Unprotect-Item
Last updated
Last updated
Unprotects the specified Sitecore item.
Unprotect-Item [-Item] <Item> [-PassThru]
Unprotect-Item [-Path] <String> [-PassThru]
Unprotect-Item -Id <String> [-Database <String>] [-PassThru]
The Unprotect-Item command removes protection from the item provided to it.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Passes the unprotected item back into the pipeline.
Aliases | |
---|---|
The item to be unprotected.
Path to the item to be unprotected - can work with Language parameter to specify the language other than current session language.
Id of the item to be unprotected.
Database containing the item to be fetched with Id parameter.
The input type is the type of the objects that you can pipe to the cmdlet.
can be piped from another cmdlet* Sitecore.Data.Items.Item
The output type is the type of the objects that the cmdlet emits.
Only if -PassThru is used* Sitecore.Data.Items.Item
Help Author: Adam Najmanowicz, Michael West
Unprotect the Home item providing its path
Unprotect the Home item providing it from the pipeline and passing it back to the pipeline
Get-Item
Aliases | |
---|---|
Aliases | |
---|---|
Aliases | |
---|---|
Aliases | |
---|---|
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
true
Position?
1
Default Value
Accept Pipeline Input?
true (ByValue, ByPropertyName)
Accept Wildcard Characters?
false
Required?
true
Position?
1
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
true
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false