title: Create SharePoint 2010 search content source that uses a BDC via PowerShell
body: <p>Using powershell how do you create a content sorce that uses a BDC?  </p>
  
  <p>Documentation on Technet for <a href="http://technet.microsoft.com/en-us/library/ff607867.aspx" rel="nofollow">New-SPEnterpriseSearchCrawlContentSource</a> is not very clear on how to do this.</p>
  
  <p>So far this seems most reasonable to me but it doesn't work.</p>
  
  <pre><code>$searchapp = Get-SPEnterpriseSearchServiceApplication "MySearchApplication"
  New-SPEnterpriseSearchCrawlContentSource -name "My BDC Content Source" -searchapplication $searchApp -Type Business -LOBSystemSet "NameOfMyBdc"
  </code></pre>
  
  <p>It creates the content source of type Business Data Connectivity but the specified BDC is not checked off.</p>