Home » Microsoft » MS-302 » How should you complete the PowerShell script?
HOTSPOT
You have a SharePoint Server farm and a SharePoint Online subscription. The farm has a URL of https://sharepoint.contoso.com. The SharePoint Online subscription has a URL of http://contoso.sharepoint.com.
You need to migrate the Folksonomy from the farm to SharePoint Online.
How should you complete the PowerShell script? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Explanation/Reference:
Box 1: Copy-SPTaxonomyGroups
Use the Copy-SPTaxonomyGroups cmdlet to copy specified Metadata groups from an on-premises environment to SharePoint Online in a Hybrid SharePoint setup. SharePoint Online becomes the authoritative source for the copied
Taxonomy Group. All updates to the Taxonomy Group must be made in SharePoint Online. Once a Taxonomy Group is copied, it cannot be re-copied.
Box 2: People
A folksonomy is an informal classification system. It is evolves gradually as web site users collaborate on words, labels, and terms on a site. Originally, folksonomies developed from popular applications such as bookmarking.
Example:
$credential = Get-Credential
Copy-SPTaxonomyGroups -LocalTermStoreName “Managed Metadata Service Application Proxy” -LocalSiteUrl “https://sharepoint” -RemoteSiteUrl “https://contoso.sharepoint.com” -GroupNames “Group1″,”Group2” -Credential $credential
This example copies two taxonomy groups “Group1” and “Group2” from local Term Store to the remote Term Store in “https://contoso.com”. These two sites have been enabled with Hybrid Taxonomy.
References:
https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/copy-sptaxonomygroups?%20view=sharepoint-ps&view=sharepoint-ps
https://docs.microsoft.com/en-us/sharepoint/managed-metadata