Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.04 KB

File metadata and controls

34 lines (29 loc) · 1.04 KB

#Remove-SPOPropertyBagValue Removes a value from the property bag ##Syntax

Remove-SPOPropertyBagValue [-Folder <String>] [-Force [<SwitchParameter>]] [-Web <WebPipeBind>] -Key <String>

##Parameters

Parameter Type Required Description
Folder String False Site relative url of the folder. See examples for use.
Force SwitchParameter False
Key String True
Web WebPipeBind False The web to apply the command to. Omit this parameter to use the current web.
##Examples

###Example 1

PS:> Remove-SPOPropertyBagValue -Key MyKey

This will remove the value with key MyKey from the current web property bag

###Example 2

PS:> Remove-SPOPropertyBagValue -Key MyKey -Folder /MyFolder

This will remove the value with key MyKey from the folder MyFolder which is located in the root folder of the current web

###Example 3

PS:> Remove-SPOPropertyBagValue -Key MyKey -Folder /

This will remove the value with key MyKey from the root folder of the current web