Get-OMUser Command | Vmware PowerCLI Reference

Get-OMUser

This cmdlet retrieves local user accounts from the specified VMware Aria Operations server.

Syntax

Get-OMUser
[-Email < String[] > ]
[-Enabled < Boolean > ]
[-Name < String[] > ]
[-ProgressAction < ActionPreference > ]
[-Server < OMServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Email String[] named
Filters the local user accounts by email address.
optional Enabled Boolean named
Filters the local user accounts that are enabled to use VMware Aria Operations features.
optional Name String[] named
  • wildcards
Filters the local user accounts by name.
optional ProgressAction ActionPreference named
optional Server OMServer[] named
Specifies the VMware Aria Operations server from which you want to retrieve alerts. The value can be the connection object returned by the Connect-OMServer cmdlet or the object's name, which can be the IP or DNS address of the server machine.
Get-OMUser
-Id < String[] >
[-ProgressAction < ActionPreference > ]
[-Server < OMServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Id String[] named
Filters the local user accounts by ID.
optional ProgressAction ActionPreference named
optional Server OMServer[] named
Specifies the VMware Aria Operations server from which you want to retrieve alerts. The value can be the connection object returned by the Connect-OMServer cmdlet or the object's name, which can be the IP or DNS address of the server machine.

Output

VMware.VimAutomation.vROps.Types.V1.OMUser

Examples

Example 1

Get-OMUser -Email 'user_email'

Retrieves a specific user by the user`s email address.

Example 2

Get-OMUser -Name 'administrator*'

Retrieves all users with names starting with the administrator string.

Related Commands

OMUser

This cmdlet retrieves local user accounts from the specified VMware Aria Operations server.