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
Re-activate all available permissions on the current appliance session, reversing the effect of a previousPush-OVAppliancePermission call.
Syntax
Description
Pop-OVAppliancePermission restores full permissions to an appliance session that was previously restricted by Push-OVAppliancePermission. It posts all permissions currently associated with the connection (both active and inactive) back to the appliance session endpoint, activating each one.
Internally the cmdlet:
- Collects every permission in
ApplianceConnection.ActivePermissions(including those currently set inactive). - Posts a session-update request to the appliance with all permissions included.
- Updates the
SessionIDon theHPEOneView.Appliance.Connectionobject in$ConnectedSessions. - Marks all permissions as active on the local connection object.
Push-OVAppliancePermission and together they enable a least-privilege workflow: push to a reduced scope for a task, then pop to restore full access.
Parameters
The appliance connection on which to restore permissions. Accepts an
HPEOneView.Appliance.Connection object or name string. Accepts pipeline input by property name and the alias Appliance.Defaults to the current default connection ($ConnectedSessions | Where-Object Default) when not specified.Return value
Returns theActivePermissions collection of the updated HPEOneView.Appliance.Connection object, with all permissions marked as active.