Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HewlettPackard/POSH-HPEOneView/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Returns one or more local user account objects defined on an HPE OneView appliance.Syntax
Description
Get-OVUser queries the appliance index for local user accounts and returns the matching objects. Use this cmdlet to inspect account properties, view assigned roles, and feed user objects into Set-OVUser or Remove-OVUser via the pipeline.
When called by a user who does not have the Infrastructure administrator role, the cmdlet automatically falls back to returning only the calling user’s own account record.
Wildcard characters (*) are supported in the Name parameter.
Parameters
The username to search for. Accepts wildcard characters (
*). When omitted, all local user accounts are returned. Aliased as Username.The appliance connection object or name. Defaults to the default connected session in
$ConnectedSessions. Accepts an array of connections to query multiple appliances. Aliased as Appliance.Examples
List all local user accounts
Get a specific user by name
jsmith.
Use a wildcard to find accounts matching a pattern
admin.
Pipe a user object into Set-OVUser
jsmith account and updates the display name.
Output
HPEOneview.Appliance.User
Each returned object includes the following key properties:
| Property | Type | Description |
|---|---|---|
userName | String | The login username. |
fullName | String | The display name. |
emailAddress | String | The contact email address. |
officePhone | String | The office phone number. |
mobilePhone | String | The mobile phone number. |
enabled | Boolean | Whether the account is active. |
permissions | Array | The role and scope assignments for this user. |