Enable-HostedEmailIntegration

Enable-HostedEmailIntegration

Enables the hosted email integration module.

Sintaxis

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

Descripción detallada

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.

Parámetros

-AddInId<Guid>

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

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

false

-AdminAccount<String>

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

Alias

ninguno

¿Requerido?

true

¿Posición?

2

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

false

-EnablePasswordSync

Indicates that the hosted email service enables password synchronization.

Alias

ninguno

¿Requerido?

false

¿Posición?

4

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

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.

Alias

ninguno

¿Requerido?

true

¿Posición?

3

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al 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

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

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

Temas relacionados

ConvertTo-SecureString