Restore-SPODeletedSite
Published: July 16, 2012
Applies to: Office 365 | SharePoint Online
Restores a SharePoint Online deleted site collection from the Recycle Bin.
Restore-SPODeletedSite [-Identity] <SpoSitePipeBind> [-NoWait <SwitchParameter>]
Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| Identity | Required | Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind | Specifies the URL of the site collection to restore. |
| NoWait | Optional | System.Management.Automation.SwitchParameter | Specifies to continue executing script immediately. |
Detailed Description
You must be a SharePoint Online global administrator and a site collection administrator to run the cmdlet.
Input Types
Return Types
--------EXAMPLE--------
Restore-SPODeletedSite -Identity https://contoso.sharepoint.com/sites/arecycledsite
This example restores a SharePoint Online deleted site collection named HYPERLINK "https://contoso.sharepoint.com/sites/arecycledsite" https://contoso.sharepoint.com/sites/arecycledsite from the Recycle Bin.
Change History
| Date | Description |
|---|---|
| July 16, 2012 | Initial publication |
