Posts Tagged 'dmz deployment'

Creating a SharePoint 2010 Search Service application using PowerShell

Here’s a great script by Jeremy Jameson on how to create a SharePoint 2010 Search service application with Powershell.

http://blogs.msdn.com/b/jjameson/archive/2011/02/28/powershell-script-to-configure-search-in-sharepoint-server-2010.aspx

I was even able to use it to configure search on a SharePoint 2010 server which was not joined to the domain (as sometimes is required for DMZ deployments).  It worked beautifully using local computer accounts.   There is a change that needs to be made to the script if you’re using local accounts:

Add ShareName and Index arguments as shown below.

$queryComponent = New-SPEnterpriseSearchQueryComponent -QueryTopology $queryTopology -IndexPartition $indexPartition -SearchServiceInstance $queryInstance -Debug:$false -ShareName  <SHARENAME>  -IndexLocation <INDEXLOCATION>

 

Advertisements

RSS Information Week Headlines

  • An error has occurred; the feed is probably down. Try again later.

RSS SharePoint Team Blog

  • An error has occurred; the feed is probably down. Try again later.

RSS InfoPath Team Blog

  • An error has occurred; the feed is probably down. Try again later.

RSS Joel Oleson Blog

  • An error has occurred; the feed is probably down. Try again later.

RSS Susan Hanley’s KM Blog

  • An error has occurred; the feed is probably down. Try again later.

Blog Stats

  • 353,732 hits