Skip to content

Latest commit

 

History

History
118 lines (78 loc) · 3.18 KB

File metadata and controls

118 lines (78 loc) · 3.18 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/set-spotenantcontenttypereplicationparameters
applicable SharePoint Online
title Set-SPOTenantContentTypeReplicationParameters
schema 2.0.0
author samkabue
ms.author speedta
ms.reviewer

Set-SPOTenantContentTypeReplicationParameters

SYNOPSIS

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.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: ReplicateAllContentTypes
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ReplicatedContentTypes

Applicable: SharePoint Online

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

Type: System.String[]
Parameter Sets: ReplicateSelectedContentTypes
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Introduction to the SharePoint Online management shell

SharePoint Online Management Shell Download

Get-SPOAppErrors

Get-SPOTenantTaxonomyReplicationParameters

Set-SPOTenantTaxonomyReplicationParameters

Get-SPOTenantContentTypeReplicationParameters