Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Get-CMAccount

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Get-CMAccount

Gets a named user account.

Syntax

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




Detailed Description

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 (http://go.microsoft.com/fwlink/?LinkID=248317) on TechNet.

Parameters

-Name<String>

Specifies the name of the user account.


Aliases

UserName

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get a user account by using its name

This command gets a user account.


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

Related topics

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.