New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam MS-302 Topic 19 Question 4 Discussion

Actual exam question for Microsoft's MS-302 exam
Question #: 4
Topic #: 19
[All MS-302 Questions]

You have a SharePoint server farm.

You have document libraries that contain multiple content types.

You need to replicate the content types to SharePoint Online.

Which PowerShell cmdlet should you run?

Show Suggested Answer Hide Answer
Suggested Answer: E

The Copy-SPContentTypes cmdlet is used in hybrid scenarios with SharePoint Online to copy Content Types from an on-premises farm to SharePoint Online.

Example:

Copy-SPContentTypes -LocalSiteUrl https://localsite/ -LocalTermStoreName 'managed metadata service

application proxy' -RemoteSiteUrl https://contoso.sharepoint.com/ -ContentTypeNames @('ContentTypeA',

'ContentTypeB') -Credential (Get-Credential)

This example migrates the specified content types named: ContentTypeA, ContentTypeB on the local site https://localsite/ whose term store named 'managed metadata service application proxy' to the hub site of remote site https://contoso.sharepoint.com/. If the remote site is a hub site, the migration target will be itself.

References:

https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/copy-spcontenttypes


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77