Restore-SPODeletedSite
Syntax
Restore-SPODeletedSite
-Identity <SpoSitePipeBind>
[-NoWait]
[<CommonParameters>]
Description
You must be a SharePoint Online global administrator and a site collection administrator to run the cmdlet.
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251832 (http://go.microsoft.com/fwlink/p/?LinkId=251832).
Examples
----------------------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.
Required Parameters
Specifies the URL of the site collection to restore.
Type: | SpoSitePipeBind |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
Optional Parameters
Specifies to continue executing script immediately.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |