Set-CopyMoveListConfiguration

Top  Previous  Next

Sets CopyMove configuration settings for a SharePoint list.

Syntax

Set-CopyMoveListConfiguration [-Identity] <SPListPipeBind> [-EnableCopyAction <bool>] [-EnableExportAction <bool>] [-EnableImportAction <bool>] [-EnableMoveAction <bool>] [-HideDestination <bool>] [-OverrideEnabledActions <bool>] [<CommonParameters>]

Parameters

Parameter

Required

Type

Description

Identity

Yes

SPListPipeBind

SharePoint SPList object or a string object with the absolute URL address of the SharePoint list.

EnableCopyAction

No

Boolean

Sets a Boolean value indicating whether to enable the Copy action in the UI.

EnableMoveAction

No

Boolean

Sets a Boolean value indicating whether to enable the Move action in the UI.

EnableExportAction

No

Boolean

Sets a Boolean value indicating whether to enable the Export action in the UI.

EnableImportAction

No

Boolean

Sets a Boolean value indicating whether to enable the Import action in the UI.

HideDestination

No

Boolean

Sets a Boolean value indicating whether to hide the list in the CopyMove UI.

OverrideEnabledActions

No

Boolean

Sets a Boolean value indicating whether the list should have its own configuration of enabled actions.

Examples

Hides the specified list in the CopyMove destination tree.

Set-CopyMoveListConfiguration "https://teams.mydomain.net/sites/site1/style library" -HideDestination

Hides the Export and Import actions in the UI for the specified list.

Set-CopyMoveListConfiguration "https://teams.mydomain.net/sites/site1/docs" -OverrideEnabledActions $true -EnableCopyAction $true -EnableMoveAction $true