Get TermStore ID using PowerShell

Get-TermStore

The command to get term stores from a SharePoint site.

SYNTAX

  1. Get-TermStore [-Site] <Site> [[-Name] <String[]>] [[-Id] <String[]>]  

Example

  1. $site = Connect-Site -Url http://gauti.sharepoint/sites/mysitecollection  
  2. Get-TermStore -Site $site  

 Thanks for learning my code!!!