Restore-PnPDeletedContainer
SYNOPSIS
Required Permissions
- SharePoint: Access to the SharePoint Tenant Administration site
The Restore-PnPDeletedContainer recovers a deleted Container from the Recycle Bin.
SYNTAX
Restore-PnPDeletedContainer -Identity <string> [-Connection <PnPConnection>]
DESCRIPTION
EXAMPLES
EXAMPLE 1
Restore-PnPDeletedContainer -Identity "b!jKRbiovfMEWUWKabObEnjC5rF4MG3pRBomypnjOHiSrjkM_EBk_1S57U3gD7oW-1"
Restores the Container with ContainerId "b!jKRbiovfMEWUWKabObEnjC5rF4MG3pRBomypnjOHiSrjkM_EBk_1S57U3gD7oW-1" from the Recycle Bin.
PARAMETERS
-Identity
The ContainerId of the deleted container to be restored.
Type: String
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 Restore-PnPConnection.
Type: PnPConnection
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False