In this article we will be seeing about how to create a new term, termset and
group in SharePoint 2010 using powershell.
In this article we will be seeing the following:
- Create a new group for the term store
- Create a new termset for the group
- Create a new term for the termset
Create a new group for the term store:
$taxonomySession=Get-SPTaxonomySession -Site
"http://servername:10/"
$termStore=$taxonomySession.TermStores["MMS"]
$group=$termStore.CreateGroup("SharePoint Group")
$termStore.CommitAll()
![]()
Create a new termset for the group:
$taxonomySession=Get-SPTaxonomySession -Site
"http://servername:10/"
$termStore=$taxonomySession.TermStores["MMS"]
$group=$termStore.Groups["SharePoint Group"]
$termSet=$group.CreateTermSet("Word Automation Term Set")
$termStore.CommitAll()

Create a new term for the termset:
$taxonomySession=Get-SPTaxonomySession -Site
"http://servername:10/"
$termStore=$taxonomySession.TermStores["MMS"]
$group=$termStore.Groups["SharePoint Group"]
$termSet=$group.TermSets["Word Automation Term Set"]
$term1=$termSet.CreateTerm("Conversion",1033)
$termStore.CommitAll()


snehaPosted Feb 4, 2013, 12:51 AM
Can you please provide me the powershell script to import export .csv taxonomy file . Thanks in advance.
madhu reddyeditedPosted Mar 20, 2012, 12:52 AMEdited Mar 20, 2012, 2:32 AM
Can you please tell me how to write all the above programmatically in single file in powershell??? thanks in advance
madhu reddyPosted Mar 20, 2012, 12:48 AM
helped me a lot.........