Set-FASTSearchIPSec
設定Microsoft FAST Search Server 2010 for SharePoint的本機網際網路通訊協定安全性 (IPsec) 。
Syntax
Set-FASTSearchIPSec
[-Create]
-Password <SecureString>
-UserName <String>
[-LogFile <String>]
[<CommonParameters>]
Set-FASTSearchIPSec
[-Remove]
[-LogFile <String>]
[<CommonParameters>]
Description
此指令程式會刪除或建立防火牆規則,以設定本機電腦的 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----------------- (適用於 SharePoint 2010 的 FAST Server)
Set-FASTSearchIPSec -Create -UserName user1 -Password xxx
此範例會在本機電腦上設定網際網路通訊協定安全性。
--------------- 範例 2----------------- (適用於 SharePoint 2010 的 FAST Server)
Set-FASTSearchIPSec -Remove
此範例會從本機電腦中移除網際網路通訊協定安全性規則。
參數
-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 |