I'm using PowerShell to add metadata to my termstore. When I go to the central administration, in metadata service application I can see that I have one termstore. But when I try to access it through :
$session = new-object Microsoft.SharePoint.Taxonomy.TaxonomySession($site)
$termstore = $session.TermStores[$TermStoreData.termstore.name]
I don't find anything, and if I take a look at the $session
object I see everything empty except the "OfflineTermstoreNames",
Do you have any ideas how I could access to the metadata termstore ?