Get-OMUser
This cmdlet retrieves local user accounts from the specified vRealize Operations Manager server.
Syntax
[-Email
<String[]>]
[-Enabled <Boolean>]
[-Name <String[]>]
[-Server <OMServer[]>]
[CommonParameters]
[-Enabled <Boolean>]
[-Name <String[]>]
[-Server <OMServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
String[] | named |
|
Filters the local user accounts by email address. | optional |
|
Boolean | named |
|
Filters the local user accounts that are enabled to use vRealize Operations Manager features. | optional |
|
String[] | named |
|
Filters the local user accounts by name. | optional |
|
OMServer[] | named |
|
Specifies the vRealize Operations Manager 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. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
String[] | named |
|
Filters the local user accounts by ID. | optional |
|
OMServer[] | named |
|
Specifies the vRealize Operations Manager 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 vRealize Operations Manager server.