-
Notifications
You must be signed in to change notification settings - Fork 52
Update HPOVLogicalEnclosure
Update or Refresh a Logical Enclosure.
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>]
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.
-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)
System.Management.Automation.PSCustomObject Single Enclosure resource.
System.Array Multiple Enclosure resources.
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.
-------------------------- 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.
- [Update-HPOVEnclosure] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Update-HPOVEnclosure)
- [Get-HPOVEnclosure] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVEnclosure)
- [Get-HPOVLogicalEnclosure] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVLogicalEnclosure)
- [Add-HPOVEnclosure] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Add-HPOVEnclosure)
- [Invoke-HPOVcmMigration] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Invoke-HPOVcmMigration)
- [Remove-HPOVEnclosure] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVEnclosure)
- [Wait-HPOVTaskComplete] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Wait-HPOVTaskComplete)