Retrieving local user accounts
In vRealize Operations Manager, you can authenticate users using local accounts, SSO SAML, Open LDAP, Active Directory, and vCenter Server accounts. The Get-OMUser
cmdlet retrieves local user accounts from the specified vRealize Operations Manager server. The syntax of the Get-OMUser
cmdlet is given here. The first parameter set is the default:
Get-OMUser [-Enabled <Boolean>] [[-Name] <String[]>]
[-Email <String[]>] [-Server <OMServer[]>] [<CommonParameters>]
The second parameter set is required to retrieve local users by ID:
Get-OMUser -Id <String[]> [-Server <OMServer[]>] [<CommonParameters>]
The -Id
parameter is required.
Using the Get-OMUser
cmdlet without parameters will return all of the local user accounts, as follows:
PowerCLI C:\> Get-OMUser
The output of the preceding command is as follows:
Name FirstName LastName Enabled ---- --------- -------- ------- maintenanceAdmin ...