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
Permanently removes one or more local user accounts from an HPE OneView appliance.Syntax
Description
Remove-OVUser deletes a local user account from the appliance. The operation cannot be undone. Supply either a username string or a user object retrieved from Get-OVUser. The cmdlet supports ShouldProcess, so you will be prompted for confirmation before each deletion unless you pass -Confirm:$false.
Parameters
The user account to remove. Accepts a username string or an
HPEOneview.Appliance.User object from the pipeline. Aliased as u, user, UserName, and Name.The appliance connection object or name. Defaults to the default connected session. When
InputObject is an object from the pipeline, the connection is read from the object’s ApplianceConnection property. Aliased as Appliance.Simulates the operation without making any changes. Reports what would be removed.
Prompts for confirmation before each deletion. Pass
-Confirm:$false to suppress prompts in automated scripts.Examples
Remove a user account by name
contractor1 account.
Remove a user account without confirmation prompt
contractor1 immediately without prompting.
Remove a user via pipeline from Get-OVUser
contractor1 account object and pipes it directly into Remove-OVUser.
Preview which accounts would be removed with WhatIf
temp* would be deleted without performing any changes.