Create a Managed Metadata Service Connection by using Windows PowerShell

Open SharePoint 2010 Management Shell in your SharePoint Server.
 
Type the Below code snippets to Create a Managed Metadata Service connection.
  1. New-SPMetadataServiceApplicationProxy -Name "<ConnectionName>" -ServiceApplication "<ServiceApplicationName>" -ContentTypePushdownEnabled -ContentTypeSyndicationEnabled -DefaultKeywordTaxonomy -DefaultProxyGroup -DefaultSiteCollectionTaxonomy  
Note:
  • <ConnectionName> is the name of the connection that you are creating.
  • <ServiceApplicationName> is the name of the managed metadata service that this connection connects to.