Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Restore-SPODeletedSite

Restores a SharePoint Online deleted site collection from the Recycle Bin.

Syntax

Default (Default)

Restore-SPODeletedSite
 -Identity <SpoSitePipeBind>
 [-NoWait]
 [<CommonParameters>]

Description

You must be at least a SharePoint administrator to run the cmdlet.

For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at Intro to SharePoint Online Management Shell.

Examples

EXAMPLE

Restore-SPODeletedSite -Identity https://contoso.sharepoint.com/sites/arecycledsite

This example restores a SharePoint Online deleted site collection named "https://contoso.sharepoint.com/sites/arecycledsite" from the Recycle Bin.

Parameters

-Identity

Applicable: SharePoint Online

Specifies the URL of the site collection to restore.

Parameter properties

Type:Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-NoWait

Applicable: SharePoint Online

Specifies to continue executing script immediately.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Related Links


Feedback

Was this page helpful?