Set-FASTSearchIPSec
为Microsoft FAST Search Server 2010 for SharePoint配置本地 Internet 协议安全性 (IPsec) 。
语法
Set-FASTSearchIPSec
[-Create]
-Password <SecureString>
-UserName <String>
[-LogFile <String>]
[<CommonParameters>]
Set-FASTSearchIPSec
[-Remove]
[-LogFile <String>]
[<CommonParameters>]
说明
此 cmdlet 删除或创建防火墙规则,以配置本地计算机的 IP 安全性。
FAST Search Server 2010 for SharePoint 必须在本地计算机上安装,然后才能运行此 cmdlet。
如果未在 FAST Search Server 2010 for SharePoint 安装中的管理节点上运行此 cmdlet,请确保在运行此 cmdlet 之前已启动该管理节点。
有关 FAST Search Server 2010 for SharePoint cmdlet 的权限和最新信息,请参阅联机文档 (https://go.microsoft.com/fwlink/?LinkId=163227) 。
示例
---------------示例 1----------------- (FAST Server for SharePoint 2010)
Set-FASTSearchIPSec -Create -UserName user1 -Password xxx
此示例在本地计算机上设置 Internet 协议安全性。
---------------EXAMPLE 2-----------------(FAST Server for SharePoint 2010)
Set-FASTSearchIPSec -Remove
此示例从本地计算机中删除 Internet 协议安全规则。
参数
-Create
指定将创建 IPsec 规则。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-LogFile
指定将写入所有日志消息的文件的完整路径。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-Password
指定可以在域控制器中查找计算机的域用户的密码。
Type: | SecureString |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-Remove
指定将删除 IPsec 规则。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-UserName
指定可以在域控制器中查找计算机的域用户的用户名。
Type: | String |
Aliases: | User |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |