Remove-CopyMoveSiteConfiguration

Top  Previous  Next

Removes the CopyMove configuration for a SharePoint site collection.

Syntax

Remove-CopyMoveSiteConfiguration [-Identity] <SPSitePipeBind> [-Force <SwitchParameter>] [<CommonParameters>]

Parameters

Parameter

Required

Type

Description

Identity

Yes

SPSitePipeBind

SharePoint SPSitet object or a string object with the absolute URL address of the SharePoint site collection.

Force

No

SwitchParameter

Do not prompt for confirmation.

Examples

Removes the CopyMove configuration object for the site collection https://teams.mydomain.net/sites/site1

 

Remove-CopyMoveSiteConfiguration "https://teams.mydomain.net/sites/site1"

The SPSite object can also be piped into the cmdlet:

Get-SPSite "https://teams.mydomain.net/sites/site1" | Remove-CopyMoveSiteConfiguration