Category: PowerShell

Mount VHD: DISKPART SELECT VDISK FILE="D:MyVHDDisk.vhd" ATTACH VDISK Dismount VHD: DETACH VDISK
Error Error occurred in deployment step 'Add Solution': An object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0 Parent=SPSolution Name=XXXXXXXXXX.wsp", depends on other objects which do not exist. Ensure that all of the objects dependencies are created and retry this operation. Solution 1. Go to Services and Stop SharePoint Timer Service 2. Open C:ProgramDataMicrosoftSharePointConfig(GUID folder). 3. […]
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()}