Remove-PnPIndexedProperty
SYNOPSIS
Removes a key from propertybag to be indexed by search. The key and it's value remain in the propertybag, however it will not be indexed anymore.
SYNTAX
Remove-PnPIndexedProperty [-Key] <String> [-List <ListPipeBind>]
[-Connection <PnPConnection>]
DESCRIPTION
Allows to remove indexed property from the current web.
EXAMPLES
EXAMPLE 1
Remove-PnPIndexedProperty -key "MyIndexProperty"
Removes the Indexed property "MyIndexProperty" from the current web
PARAMETERS
-Connection
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: PnPConnection
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Key
Key of the property bag value to be removed from indexing
Type: String
Parameter Sets: (All)
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-List
The list object or name from where to remove the indexed properties
Type: ListPipeBind
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False