Tag: source

Podemos generar un fichero BAT sencillo que nos haga un Backup de los directorios que queramos de forma recursiva. Tan solo tenemos que crear un archivo con la extension “.bat” y editarlo añadiendo lo siguiente: @ECHO off For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set today=%%c%%a%%b) For /f "tokens=1-2 delims=/:" %%a in […]
Este comando detiene todos los Crawls que no estén en estado “Idle”: Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | ForEach-Object { if ($_.CrawlStatus -ne "Idle"){ $_.StopCrawl() } } Con este comando podemos ver el estado de los Content Source: Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | select Name, CrawlStatus
If you’re developing some HTML code that it can be accessed by thousands of people at the same time, if you use images like this: <img alt="" src="http://myimage" /> You could trigger a huge load to your server, because every request of every image goes to your server. Instead of that you could embed the […]
My case: It’s a standard register form created in a SharePoint WebPart (but this error could happen even if you’re not using SharePoint). When I submit the form, sometimes I loose the information of DropDowns (but not the information of textboxes) and it seems to happen randomly. I checked the packages sent with Wireshark and […]
You can configure your Search Application Topology through your servers and manage all its parts separately, or (like in my case) you only need to configure it all in one server. Using PowerShell I’ve only need to run this following commands: 1. Get the Search Service Instance of my server into a variable (The second […]
Run this Script in PowerShell to stop all your Crawls: Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | ForEach-Object {$_.StopCrawl()} You could also start full Crawls on every Content Source changing the StopCrawl command like this: Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | ForEach-Object {$_.StartFullCrawl()}
You can remove any href that contains specific text inside the link. If you want to remove the link to any page that contains “DispForm” you can do it like this: $('a[href*="DispForm"]').removeAttr("href"); ‘*=’ means ‘Contains’, but you can use anything you need: *= Contains = Equal != Not equal ^= Starts With $= Ends With