Set-SPOTenantContentTypeReplicationParameters

Select content types for replication

Syntax

Set-SPOTenantContentTypeReplicationParameters
   [-ReplicateAllContentTypes]
   [<CommonParameters>]
Set-SPOTenantContentTypeReplicationParameters
   -ReplicatedContentTypes <String[]>
   [<CommonParameters>]

Description

Before you run the cmdlets, please use 'Connect-SPOService' to connect to SharePoint Online first. By default, all published content types in primary location will be replicated to satellite.

Examples

EXAMPLE 1

Set-SPOTenantContentTypeReplicationParameters -ReplicatedContentTypes "ct1","ct2"

Tenant admin can use this cmdlet to select only some content types only for replicating to overwrite default settings

EXAMPLE 2

Set-SPOTenantContentTypeReplicationParameters -ReplicateAllContentTypes

Tenant admin can also reset to replicate all the content types.

Parameters

-ReplicateAllContentTypes

The ReplicateAllContentTypes parameter specifies whether all content types should be replicated.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-ReplicatedContentTypes

Specifies a comma separated list of content types that should be replicated.

Type:String[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online