Set-SPOTenantContentTypeReplicationParameters
Select content types for replication
Syntax
ReplicateSelectedContentTypes (Default)
Set-SPOTenantContentTypeReplicationParameters
-ReplicatedContentTypes <String[]>
[<CommonParameters>]
ReplicateAllContentTypes
Set-SPOTenantContentTypeReplicationParameters
[-ReplicateAllContentTypes]
[<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
Applicable: SharePoint Online
The ReplicateAllContentTypes parameter specifies whether all content types should be replicated.
Parameter properties
Type: | System.Management.Automation.SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ReplicateAllContentTypes
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ReplicatedContentTypes
Applicable: SharePoint Online
Specifies a comma separated list of content types that should be replicated.
Parameter properties
Type: | System.String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ReplicateSelectedContentTypes
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.