0
votes
0answers
14 views

Find Number Of Items In Search Index Using Powershell

How can I find out how many items are in my search indexes using Powershell in SharePoint 2010?
0
votes
1answer
34 views

The Best script to configure Search across 2 servers: Redundancy, Performance, and Reliability?

I have a very simple three-tier SharePoint 2013 farm which its topology consists of: : (DB Server, Application Server, and Web Front End Server). Each server has somewhat decent resources e.g. 15 GB ...
0
votes
1answer
22 views

Search User Profile Property without giving ManagedPropertyName

I would like to search the users by giving the value of an user profile property. In order to do that, I created a new managed propery and mapped it to the corresponding crawl property. After Full ...
2
votes
1answer
61 views

Create a People Search Result Source Using PowerShell

I want to set Type="People Search Results" and in Credential Information want to set default authentication using PowerShell. I have used below code to create result source but I am not able to set ...
0
votes
1answer
107 views

Export Crawl Log with PowerShell

I try to export the crawl log with PowerShell to analyze the errors and most importantly the warnings: Add-PSSnapin microsoft.sharepoint.powershell -ea 0 $ssa = ...
0
votes
3answers
52 views

disable search / crawl by default for all new lists or library?

I'm looking for a way to disable new lists and libraries from being searchable. Ultimately, this site will be public facing and even though I can tell people to remember to disable lists and ...
1
vote
0answers
157 views

SharePoint Online CSOM create managed properties

I'm trying to find a way to deploy search managed properties via script to my Office 365 SharePoint tenant. Previously, for on-prem SharePoint I've achieved this using PowerShell - fairly straight ...
1
vote
1answer
89 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
423 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
190 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
109 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
142 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
317 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
309 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
421 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
391 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
738 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
2k 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 = ...