Export (0) Print
Expand All

Remove-SPODeletedSite

 

Applies to: SharePoint Online, Office 365

Topic Last Modified: 2013-12-18

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

Remove-SPODeletedSite [-Identity] <SpoSitePipeBind> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]

The Remove-SPODeletedSite cmdlet permanently removes a SharePoint Online deleted site collection from the Recycle Bin.

You have to be a SharePoint Online global administrator and site collection administrator permissions to run the cmdlet.

 

Parameter Required Type Description

Identity

Required

Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind

Specifies the URL of the site collection to remove.

Confirm

Optional

System.Management.Automation.SwitchParameter

Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters

WhatIf

Optional

System.Management.Automation.SwitchParameter

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

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

Remove-SPODeletedSite -Identity https://contoso.sharepoint.com/sites/sitetoremove

This example removes a SharePoint Online deleted site collection named https://contoso.sharepoint.com/sites/sitetoremove from the Recycle Bin and deletes it permanently.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft