Tagged Questions
2
votes
2answers
310 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 ...
0
votes
1answer
30 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
0answers
150 views
Top level Errors URL: SharePoint Search Crawl
I am trying to find the top level error : URL and date:
I know through content source we can get: $contentsource.LevelHighErrorCount
but it doesn't give me url and date of that Error:
Basically ...
0
votes
1answer
845 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
230 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.
...
0
votes
1answer
135 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 ...
3
votes
1answer
261 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 : ...
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 = ...
2
votes
1answer
147 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
1k 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 ...
1
vote
0answers
543 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
...