Add-FASTSearchResource
将资源上载到资源存储。
语法
Default (默认值)
Add-FASTSearchResource
[-Path] <String>
[-FilePath] <String>
[<CommonParameters>]
说明
此 cmdlet 将位于本地环境中的指定文件上传到Microsoft FAST Search Server 2010 for SharePoint资源存储。 资源存储区的位置通常在 %FASTSEARCH%/etc/Admin.config (其中 %FASTSEARCH% 是 FAST Search Server 2010 for SharePoint 安装文件夹。) 指定上传 URI 中资源的唯一位置。
有关 FAST Search Server 2010 for SharePoint cmdlet 的权限和最新信息,请参阅联机文档 (https://go.microsoft.com/fwlink/?LinkId=163227) 。
示例
示例 1 (FAST Server for SharePoint 2010)
C:\PS>Add-FASTSearchResource dictionaries\spellcheck\check_en.aut c:\check_en.aut
此示例将文件 c:\check_en.aut 上传到 dictionaries\spellcheck\check_en.aut 到资源存储区。
参数
-FilePath
适用:FAST Server for SharePoint 2010
要上载的本地资源的路径。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | 2 |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Path
适用:FAST Server for SharePoint 2010
要将文件上载到其中的资源存储中的部分 URI。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
| 别名: | ResourceURI |
参数集
(All)
| Position: | 1 |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。