Remove-HostedEmailAccount
Remove-HostedEmailAccount
Removes the hosted email account assigned to a local user account.
Sintaxis
Parameter Set: Default
Remove-HostedEmailAccount [-LocalAccountName] <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Descripción detallada
The Remove-HostedEmailAccount cmdlet removes the hosted email account that is assigned to a local user account. The cmdlet removes the hosted email account from Windows Server Essentials that is provided by a hosted email service.
Parámetros
-LocalAccountName<String>
Specifies the name of a local Active Directory user account. The cmdlet removes the hosted email account that is assigned to the local user account that you specify.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
2 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue) |
¿Aceptar caracteres comodín? |
false |
-Confirm
Solicita confirmación antes de ejecutar el cmdlet.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WhatIf
Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿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: Removes a hosted email account
This command removes the hosted email account that is assigned to the local user account named PattiFuller.
PS C:\> Remove-HostedEmailAccount -LocalAccountName "PattiFuller"
PS C:\>