Get-LXCAUserAccount

This cmdlet returns information for all user accounts that were created in Lenovo XClarity Administrator.

Note: You cannot pipe objects to this cmdlet.

Syntax

Get-LXCAUserAccount [-Connection Connection]
                    [CommonParameter]

Parameters

-Connection LXCAConnection
Specifies the connection to the Lenovo XClarity Administrator server. If no connection is specified, the result from the last Connect-LXCA cmdlet is used.
CommonParameters
This cmdlet supports the following common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer, -PipelineVariable, -OutVariable. For detailed information about each common parameter, see the Microsoft PowerShell Common Parameters webpage.

Results

This cmdlet returns a UserAccount object for each user account.

Examples

The following example retrieves all XClarity Administrator user accounts.

$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred

$accounts = Get-LXCAUserAccount

Disconnect-LXCA

Related links