Syntax
Get-OMUser [[-Name] <String[]>] [-Email <String[]>] [-Enabled <Boolean>] [-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.