external help file | applicable | schema |
---|---|---|
SharePoint Online |
2.0.0 |
Returns the items in the tenant scoped recycle bin
Get-PnPTenantRecycleBinItem [-Connection <SPOnlineConnection>]
This command will return all the items in the tenant recycle bin for the Office 365 tenant you are connected to. Be sure to connect to the SharePoint Online Admin endpoint (https://yourtenantname-admin.sharepoint.com) in order for this command to work.
PS:> Get-PnPTenantRecycleBinItem
Returns all site collections in the tenant scoped recycle bin
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: SPOnlineConnection
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False