Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Get-SPODeletedSite

Published: July 16, 2012

Applies to:  Office 365 | SharePoint Online 

Returns all deleted site collections from the Recycle Bin.

Get-SPODeletedSite [[-Identity] <SpoSitePipeBind>] [-Limit <String>]

Parameters

Parameter Required Type Description

Identity

Optional

Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind

Specifies the URL of the deleted site collection.

Limit

Optional

System.String

Specifies the maximum number of site collections to return. It can be any number. To retrieve all site collections, use ALL. The default value is 200.

Detailed Description

The Get-SPODeletedSite cmdlet returns all deleted site collections that match the given criteria from the Recycle Bin.

You must be a SharePoint Online global administrator and a site collection administrator for the deleted site collections to run the cmdlet.

Input Types

Return Types

--------EXAMPLE--------

Get-SPODeletedSite -Identity http://contoso.sharepoint.com/sites/marketing

This example restores a site collection http://contoso.sharepoint.com/sites/marketing from the Recycle Bin.

Change History

Date Description

July 16, 2012

Initial publication

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.