Remove-SPEnterpriseSearchQueryScopeDisplayGroup

Description
This cmdlet removes a scope display group given a site collection.

Example (Removes a scope display group called "New Display Group"):
$searchapp = Get-SPEnterpriseSearchServiceApplication "Search Service Application"
$group = Get-SPEnterpriseSearchQueryScopeDisplayGroup -Name "New Scope Display Group" -url http://sp2010 -SearchApplication $searchapp
Remove-SPEnterpriseSearchQueryScopeDisplayGroup -Identity $group

Author: Corey Roth (@coreyroth)
Creation Date: 8/9/2010
http://www.dotnetmafia.com

Last edited Aug 11, 2010 at 5:38 AM by cdog, version 2

Comments

No comments yet.