Enable-HostedEmailAccount

Enable-HostedEmailAccount

Enables the hosted email account assigned to a local user account.

Sintaxis

Parameter Set: Default
Enable-HostedEmailAccount [-LocalAccountName] <String> [ <CommonParameters>]

Descripción detallada

The Enable-HostedEmailAccount cmdlet enables a hosted email account that is assigned to a local user account. A hosted email service provides a hosted email account.

Parámetros

-LocalAccountName<String>

Specifies the name of a local Active Directory user account. The cmdlet enables the hosted email account that is assigned to the local user account you specify.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

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.String

    LocalAccountName

    Type: System.String

    Description: local user name

Salidas

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

Ejemplos

Example 1: Enable a hosted email account

This command enables the hosted email account that is assigned to the local user account named PattiFuller.

PS C:\> Enable-HostedEmailAccount -LocalAccountName "PattiFuller"
PS C:\> 

Temas relacionados

Get-HostedEmailAccount

Add-HostedEmailAccount

Set-HostedEmailAccount

Disable-HostedEmailAccount

Remove-HostedEmailAccount

Clear-AssignedHostedEmailAccount