Share via


Add-FASTSearchResource

Uploads a resource to the resource store.

Syntax

Default (Default)

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

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 %FASTSEARCH%/etc/Admin.config (where %FASTSEARCH% is the FAST Search Server 2010 for SharePoint installation folder.) Specify a unique location of the resource in the upload URI.

For permissions and the most current information about FAST Search Server 2010 for SharePoint cmdlets, see the online documentation, (https://go.microsoft.com/fwlink/?LinkId=163227).

Examples

EXAMPLE 1 (FAST Server for SharePoint 2010)

C:\PS>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.

Parameters

-FilePath

Applicable: FAST Server for SharePoint 2010

Path of the local resource to be uploaded.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Path

Applicable: FAST Server for SharePoint 2010

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ResourceURI

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.