Set-PnPInPlaceRecordsManagement
SYNOPSIS
Activates or deactivates in place records management feature.
SYNTAX
Set-PnPInPlaceRecordsManagement -Enabled <Boolean> [-Connection <PnPConnection>]
DESCRIPTION
Activates or deactivates in place records management feature in the site collection.
EXAMPLES
EXAMPLE 1
Set-PnPInPlaceRecordsManagement -Enabled $true
Activates in place records management.
EXAMPLE 2
Set-PnPInPlaceRecordsManagement -Enabled $false
Deactivates in place records management.
PARAMETERS
-Enabled
Specifies whether in place records management should be enabled.
Type: Boolean
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-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