Hi all! Today I bring something easy that I needed to do for a client, they had a particular drive for index location, so they need to reubicate to another location. This can be done trought PowerShell, so let’s begin
#you need to especify the name of the SearchService Configured in your farm $ssa = Get-SPEnterpriseSearchServiceApplication "PRE_Search_Service" $instance=Get-SPEnterpriseSearchServiceInstance -Local $current=Get-SPEnterpriseSearchTopology -SearchApplication $ssa $clone=New-SPEnterpriseSearchTopology -Clone -SearchApplication $ssa -SearchTopology $current New-SPEnterpriseSearchIndexComponent -SearchTopology $clone -IndexPartition 0 -SearchServiceInstance $instance -RootDirectory "I:Index" Set-SPEnterpriseSearchTopology -Identity $clone Remove-SPEnterpriseSearchTopology -Identity $current
After executing this PS, the index will be generated in the new location
That’s all