Disable-WssMsoUser
Disable-WssMsoUser
Disables an online service account.
Sintaxis
Parameter Set: Default
Disable-WssMsoUser [-WssUserName] <String> [ <CommonParameters>]
Descripción detallada
The Disable-WssMsoUser cmdlet disables the online service account that is assigned to a local user account. This prevents the disabled account from using the online portal.
Parámetros
-WssUserName<String>
Specifies the name of a user account. The cmdlet disables the online service account that is assigned to the account that you specify.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue, ByPropertyName) |
¿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
WssUserName - local network account name of user.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
Example 1: Disable a Microsoft account
This command disables the online service account that is assigned to the user account named PattiFuller.
PS C:\> Disable-WssMsoUser -WssUserName "PattiFuller"