Skip to content

Latest commit

 

History

History
95 lines (63 loc) · 2.44 KB

File metadata and controls

95 lines (63 loc) · 2.44 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/restore-spodeletedsite
applicable SharePoint Online
title Restore-SPODeletedSite
schema 2.0.0
author samkabue
ms.author speedta
ms.reviewer

Restore-SPODeletedSite

SYNOPSIS

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

SYNTAX

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.

Type: Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-NoWait

Applicable: SharePoint Online

Specifies to continue executing script immediately.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Getting started with SharePoint Online Management Shell

Get-SPODeletedSite

Remove-SPODeletedSite