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, ...

Get Learning PowerCLI - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.