Get-WssMsoUser

Gets the online service account for a user.

Syntax

Get-WssMsoUser
   [[-MsoUserName] <String>]
   [<CommonParameters>]

Description

The Get-WssMsoUser cmdlet gets the online service account for a user principal name (UPN) from aad_1. If you do not specify a UPN, the cmdlet gets all online service accounts.

Examples

Example 1: Get an online service account

PS C:\> Get-WssMsoUser -MsoUserName "DavidChew@TSQA.Contoso.com"

This command gets the online service account for the specified UPN.

Parameters

-MsoUserName

Specifies a UPN. The cmdlet gets the online service account for the UPN that you specify.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

WssUserName Type: System.String Description: local network account name of user