Syntax
Get-OMUser [-Enabled <Boolean>] [[-Name] <String[]>] [-Email <String[]>] [-Server <OMServer[]>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet retrieves local user accounts from the specified vRealize Operations Manager server.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String[] | Filters the local user accounts by name. | false | false | |
String[] | Filters the local user accounts by email address. | false | false | ||
Enabled | Boolean | Filters the local user accounts that are enabled to use vRealize Operations Manager features. | false | false | |
Id | String[] | Filters the local user accounts by ID. | true | false | |
Server | OMServer[] | 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. | false | false |
Return Type
Zero or more OMUser objectsNotes
Examples
-------------- Example 1 --------------
Get-OMUser -Email 'user_email'
Retrieves a specific user by the user`s email address.
Note: The "admin" user is not returned.
-------------- Example 2 --------------
Get-OMUser -Name 'administrator*'
Retrieves all users with names starting with the administrator string.
Note: The "admin" user is not returned.