Get-WssMsoUser
Get-WssMsoUser
Gets the online service account for a user.
Sintaxis
Parameter Set: Default
Get-WssMsoUser [[-MsoUserName] <String> ] [ <CommonParameters>]
Descripción detallada
The Get-WssMsoUser cmdlet gets the online service account for a user principal name (UPN) from . If you do not specify a UPN, the cmdlet gets all online service accounts.
Parámetros
-MsoUserName<String>
Specifies a UPN. The cmdlet gets the online service account for the UPN that you specify.
Alias |
ninguno |
¿Requerido? |
false |
¿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
Type: System.String
Description: local network account name of user
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
Example 1: Get an online service account
This command gets the online service account for the specified UPN.
PS C:\> Get-WssMsoUser -MsoUserName "DavidChew@TSQA.Contoso.com"