Skip to content

Update HPOVLogicalEnclosure

Chris Lynch edited this page Jul 25, 2016 · 37 revisions

HPE OneView 2.00 Library

## Update-HPOVLogicalEnclosure

Update or Refresh a Logical Enclosure. ### SYNTAX

Update-HPOVLogicalEnclosure [-LogicalEnclosure] <Object> [-ApplianceConnection] <Object>[ [-Reapply] <SwitchParameter>][ [-Async] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Update-HPOVLogicalEnclosure [-LogicalEnclosure] <Object> [-ApplianceConnection] <Object>[ [-Update] <SwitchParameter>][ [-Async] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
### Detailed Description

This Cmdlet will update or refresh a Logical Enclosure. A Refresh will instruct HPE OneView to go inventory the enclosure and update any missing management configurations. An Update will perform Logical Enclosure compliance remediation with the parent Enclosure Group.

Use the -Refresh switch for scenarios where adding an enclosure results in a warning or critical error when a BL server cannot be managed due to an existing _HPOneViewAdmin account that cannot be reset or too many HP SSO Certificates are configured (iLO supports no more than 5) and you have manually cleared the HP SSO list and/or removed the _HPOneViewAdmin account.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectSessions} | ? Default

Aliases cf
Required? true
Position? 1
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Async <SwitchParameter>

Do not wait for the update task to complete,and return the task object for caller to monitor.

Aliases cf
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Confirm <SwitchParameter>

Aliases cf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-LogicalEnclosure <Object>

Aliases [-le]

Provide the Logical Enclosure name, URI or Object, or [System.Array] of names, URIs or Objects to refresh/update.

Aliases cf
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-Reapply <SwitchParameter>

Reapply the Enclosure Configuration.

Aliases cf
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Update <SwitchParameter>

Aliases [-UpdateFromEG]

Useing this switch will update the Logical Enclosure to be compliant with the Parent Enclosure Group.

Aliases cf
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-WhatIf <SwitchParameter>

Aliases cf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

### Input Types

System.Management.Automation.PSCustomObject

Single Enclosure resource.

_**System.Array**_

Multiple Enclosure resources.

### Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async task Resource object for monitoring the enclosure import process.

_**System.Collections.ArrayList <HPOneView.Appliance.TaskResource>**_

Multiple async task Resource object for monitoring the enclosure import process.

### Examples

 -------------------------- EXAMPLE 1 --------------------------

PS C:\> Update-HPOVLogicalEnclosure -Refresh

Refresh all available Logical Enclosures, from all connected sessions.

 -------------------------- EXAMPLE 2 --------------------------

PS C:\> Update-HPOVLogicalEnclosure -Update

Refresh all available Logical Enclosures, from all connected sessions.

 -------------------------- EXAMPLE 3 --------------------------

PS C:\> Update-HPOVLogicalEnclosure Enclosure1 -Refresh

Refresh 'Enclosure1' Logical Enclosure.

Related Links

Wiki Table of Contents

Clone this wiki locally