Enable-HostedEmailIntegration

Enable-HostedEmailIntegration

Enables the hosted email integration module.

構文

Parameter Set: Default
Enable-HostedEmailIntegration [-AddInId] <Guid> [-AdminAccount] <String> [-Password] <SecureString> [[-EnablePasswordSync]] [ <CommonParameters>]

詳細説明

The Enable-HostedEmailIntegration cmdlet enables the hosted email integration module. Run this cmdlet after you install the hosted email add-in. The third-party hosted email provider builds the hosted email add-in on the Hosted Email Add-in Framework.

パラメーター

-AddInId<Guid>

Specifies the GUID of the hosted email add-in to enable.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-AdminAccount<String>

Specifies the name of the administrator account for the hosted email service.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-EnablePasswordSync

Indicates that the hosted email service enables password synchronization.

エイリアス

なし

必須?

false

位置は?

4

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-Password<SecureString>

Specifies the password, as a secure string, of the administration account for the hosted email service. To obtain a secure string, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString.

エイリアス

なし

必須?

true

位置は?

3

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • System.Guid,System.String,System.Security.SecureString,System.Management.Automation.SwitchParameter

    AddInId
    Type: System.Guid
    Description: add-in ID for the hosted email integration

    AdminAccount
    Type: System.String
    Description: name of the administrator account

    Password
    Type: System.Security.SecureString
    Description: password of the administrator account

    EnablePasswordSync
    Type: System.Management.Automation.SwitchParameter
    Description: whether to enable password synchronization feature

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Enable the hosted email integration module

The first command creates a password as a secure string for use in the second command.

The second command enables the hosted email integration module, specifying the administrator account to use and its password that was created in the previous step.

PS C:\> $SecureString_pwd = convertto-securestring "P@ssW0rD!" -Asplaintext -Force
PS C:\> Enable-HostedEmailIntegration -AddId 26a21bda-a627-11d7-9931-806e6f6e6963 -AdminAccount "HEadmin01" -Password $SecureString_pwd -EnablePasswordSync

関連トピック

ConvertTo-SecureString