Add-FASTSearchResource

 

Applies to: SharePoint Server 2010

Uploads a resource to the resource store.

Syntax

Add-FASTSearchResource [-Path] <String> [-FilePath] <String>

Detailed Description

This cmdlet uploads a specified file, located in the local environment, to the Microsoft FAST Search Server 2010 for SharePoint resource store. The location of the resource store is typically specified in <FASTSearchFolder>/etc/Admin.config (where <FASTSearchFolder> is the path of the folder where you have installed FAST Search Server 2010 for SharePoint, for example C:\FASTSearch.) Specify a unique location of the resource in the upload URI.

Parameters

Parameter Required Type Description

Path

Required

System.String

Partial URI within the resource store where the file will be uploaded.

FilePath

Required

System.String

Path of the local resource to be uploaded.

Input Types

Return Types

Example

---------------EXAMPLE 1-----------------

Add-FASTSearchResource dictionaries\spellcheck\check_en.aut c:\check_en.aut

This example uploads the file c:\check_en.aut to dictionaries\spellcheck\check_en.aut to the resource store.

See Also

Reference

Get-FASTSearchResource
Remove-FASTSearchResource