SharePoint Pointer
Thursday, August 30, 2012
Use Powershell To Create Taxonomy Group, TermSet and Term in SharePoint 2010
Hi Friends,
Many times we are required to create Terms and TermSets in Managed Metadata Service Term Store using PowerShell. So here are cmdlets for that purpose.
$SPtaxonomySession=Get-SPTaxonomySession -Site "
http://servername:11/
"
$termStore=$SPtaxonomySession.TermStores["ManagedMetadataService"]
$temGroup=$termStore.CreateGroup("MMS Group")
$termSet=$temGroup.TermSets["Legal"]
$termOne=$termSet.CreateTerm("Legal Document",1033)
$termStore.CommitAll()
Thanks
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)