Get-CMAccount

Get-CMAccount

Gets a named user account.

構文

Parameter Set: SearchByName
Get-CMAccount [-Name <String> ] [ <CommonParameters>]

詳細説明

The Get-CMAccount cmdlet gets a Microsoft System Center 2012 Configuration Manager user account. The user name must be in the domain\user format. For more information about System Center 2012 Configuration Manager user accounts, see Technical Reference for Accounts Used in Configuration Manager (https://go.microsoft.com/fwlink/?LinkID=248317) on TechNet.

パラメーター

-Name<String>

Specifies the name of the user account.

エイリアス

UserName

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

<CommonParameters>

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

入力

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

出力

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

Example 1: Get a user account by using its name

This command gets a user account.

PS C:\> Get-CMAccount -Name "CONTOSO\ENarvaez"

関連トピック

New-CMAccount

Remove-CMAccount

Set-CMAccount