1
vote
1answer
40 views

How to get the trigger keywords of a query rule through PowerShell

I'm attempting to export all query rules for a provided URL to a csv file via PowerShell. I have this working about 80%, the last piece I need is to find the keywords or terms that actually trigger ...
0
votes
1answer
79 views

how to export/import managed properties and mapping to align them accross environments

I have backed up a content db from prod to dev environments. Everything works fine, but I noticed the managed properties are not aligned across environments Obviosly I dont want to do this manually ...
0
votes
1answer
84 views

Error while creating search center (Powershell)

I try to create a new search center (as a subsite of a subweb) with powershell When I do this, I get an error: New-SPWeb : Provisioning did not succeed. Details: Failed to initialize some site ...
0
votes
2answers
70 views

Managed Properties Backup/Restore

I have a tool called the Documentation Toolkit which allows me to see the difference between farm settings. I found some differences between my PROD and QA environments were the managed properties, ...
0
votes
1answer
113 views

enhancedSearch.aspx not working on a site collection

I want to change the search settings on a site collection to point to search center I created. However when I go to site settings, search settings this page throws me An unexpected error has ...
0
votes
1answer
2k views

Get last 10 search crawl logs sharepoint powershell

I want to get last few crawl log details of all of my content sources through powershell. Basically, its the search service application -> crawl logs -> crawl history -> for any content source I ...
0
votes
1answer
226 views

PowerShell or script to make all lists and libraries unsearchable?

I realize I can do this at the site or site collection level (can't remember which). However, I need every one turned off individually so that I can then go back and choose which libraries/lists are ...
0
votes
1answer
302 views

create a content type managed property via powershell

Regarding this blog post, its very easy to do visually. But for easy deployment on other environments I would like to do this in a powershell script. ...
3
votes
1answer
340 views

How to create a content source of type “web” with the option “Only crawl within the server of each start address” via powershell

I have a requirement to create a content source of type "web" with the option "Only crawl within the server of each start address" via powershell. I am trying the below command : ...
2
votes
1answer
151 views

automatically create metadata properties in the search application

I want to create a number of metadata properties in the search application in sharepoint 2010. I don't want to do this myself. I know it is possible to create a powershell script to create the ...
1
vote
1answer
2k views

PowerShell script for searching lists for specific links?

being both quite new to both PowerShell and SharePoint 2010 I'm wondering if there is any way to make a script for searching a lists for links that begins in a certain way? I want to find all the ...
2
votes
2answers
365 views

Is there a way to assign a search server to a content database using PowerShell?

Is there a way to assign a SharePoint Foundation search server to a content database using PowerShell, either while creating an Sp-WebApplication using New-SpWebApplication or by updating an ...
1
vote
0answers
673 views

Getting the following error: Another topology activation is in progress

I am using Search Server Express 2010. I am creating Search application using PowerShell scripts. After creating crawl and query components, i am activating them. First activating crawl component ...
0
votes
1answer
1k views

How do I create a new content source using powershell?

I am new to Shell Script. I would like to write a script to generate new content source for search. I wrote the following code to create a content source. $searchapp = ...