New-FASTSearchMetadataCategory
Applies to: SharePoint Server 2010
Creates a new category for crawled properties.
Syntax
New-FASTSearchMetadataCategory -Name <String> -Propset <Guid>
Detailed Description
This cmdlet creates a new category for crawled properties. A category is identified by its name and its property set global unique identifier (GUID).
All crawled properties that are members of a category share the same property set GUID as the category.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Name |
Required |
System.String |
The name of the new category. |
Propset |
Required |
System.Guid |
The property set Global Unique Identifier (GUID) assigned to this category. A GUID is a 128-bit integer that has a very low probability of being duplicated. The GUID can be specified either in the form of a System.Guid object, or as a 128-bit integer with the format “xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”. A crawled property can only be mapped to one category at a time. |
Input Types
Return Types
Example
---------------EXAMPLE 1-----------------
$guid = [guid]::NewGuid()
New-FASTSearchMetadataCategory -Name ExampleCategory -Propset $guid
This example creates a category named “ExampleCategory” with a new GUID generated by the system. New crawled properties can then be mapped to this category by specifying the GUID when calling New-FASTSearchMetadataCrawledProperty or Set-FASTSearchMetadataCrawledProperty.
See Set-FASTSearchMetadataCategory for descriptions of category properties.
See Also
Reference
Get-FASTSearchMetadataCategory
Remove-FASTSearchMetadataCategory
Set-FASTSearchMetadataCategory
New-FASTSearchMetadataCrawledProperty
Set-FASTSearchMetadataCrawledProperty