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>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

  • 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

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

예제

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