Tuesday, July 24, 2012

SharePoint 2013 Search – Removing Inactive Search Topologies with Powershell

Real quick one (as per title):

Get-SPEnterpriseSearchServiceApplication | Get-SPEnterpriseSearchTopology |? {$_.State -eq "Inactive"} |% { Remove-SPEnterpriseSearchTopology -Identity $_ -Confirm:$false};

 

 

 

No comments:

Post a Comment