Get-PnPTenantRecycleBinItem
SYNOPSIS
Required Permissions
- SharePoint: Access to the SharePoint Tenant Administration site
Returns all modern and classic site collections in the tenant scoped recycle bin
SYNTAX
Get-PnPTenantRecycleBinItem [-Connection <PnPConnection>]
DESCRIPTION
This command will return all the items in the tenant recycle bin for the Office 365 tenant you are connected to. If you are not a SharePoint Tenant Admin connect to the site where you want to manage the recycle bin and use Get-PnPRecycleBinItem.
EXAMPLES
EXAMPLE 1
Get-PnPTenantRecycleBinItem
Returns all modern and classic site collections in the tenant scoped recycle bin
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