Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.3 KB

Get-PnPTenantRecycleBinItem.md

File metadata and controls

49 lines (34 loc) · 1.3 KB
external help file applicable schema
SharePoint Online
2.0.0

Get-PnPTenantRecycleBinItem

SYNOPSIS

Returns the items in the tenant scoped recycle bin

SYNTAX

Get-PnPTenantRecycleBinItem [-Connection <SPOnlineConnection>]

DESCRIPTION

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.

EXAMPLES

------------------EXAMPLE 1------------------

PS:> Get-PnPTenantRecycleBinItem

Returns all site collections in the tenant scoped recycle bin

PARAMETERS

-Connection

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

OUTPUTS

RELATED LINKS

SharePoint Developer Patterns and Practices