Get-WssMsoUser

Get-WssMsoUser

Gets the online service account for a user.

構文

Parameter Set: Default
Get-WssMsoUser [[-MsoUserName] <String> ] [ <CommonParameters>]

詳細説明

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.

パラメーター

-MsoUserName<String>

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

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • System.String

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

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

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" 

関連トピック

Add-WssMsoUser

Disable-WssMsoUser

Enable-WssMsoUser

Remove-WssMsoUser