-
Notifications
You must be signed in to change notification settings - Fork 52
Update HPOVEnclosure
Update or Refresh an enclosure.
Update-HPOVEnclosure [-Enclosure] <Object> [-ApplianceConnection] <Object>[ [-Refresh] <SwitchParameter>][ [-Async] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Update-HPOVEnclosure [-Enclosure] <Object> [-ApplianceConnection] <Object>[ [-Reapply] <SwitchParameter>][ [-Async] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
This Cmdlet will update or refresh an enclosure. An Enclosure Refresh will instruct HPE OneView to go inventory the enclosure and update any missing management configurations.
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 or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectSessions}
Aliases | Appliance |
Required? | true |
Position? | 1 |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Async <SwitchParameter>
Immediately return async task resource to be monitored.
Aliases | None |
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 |
-Enclosure <Object>
Provide the Enclosure name, URI or Object, or [System.Array] of names, URIs or Objects to refresh/update.
Aliases | None |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Reapply <SwitchParameter>
Reapply the Enclosure Configuration.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Refresh <SwitchParameter>
Refresh the enclosure to fix configuration issues.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-WhatIf <SwitchParameter>
Aliases | wi |
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.
-------------------------- EXAMPLE 1 --------------------------PS C:\> Update-HPOVEnclosure -Refresh
Refresh all available enclosures, from all connected sessions.
-------------------------- EXAMPLE 2 --------------------------PS C:\> Update-HPOVEnclosure Enclosure1 -Refresh
Refresh 'Enclosure1' enclosure.
- [Update-HPOVLogicalEnclosure] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Update-HPOVLogicalEnclosure)
- [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)
Update or Refresh an enclosure.
Update-HPOVEnclosure[ [-Enclosure] <Enclosure>] [-Refresh] <Refresh>[ [-Monitor] <Monitor>] [<CommonParameters>]
Update-HPOVEnclosure[ [-Enclosure] <Enclosure>] [-Reapply] <Reapply>[ [-Monitor] <Monitor>] [<CommonParameters>]
Update-HPOVEnclosure[ [-Enclosure] <Enclosure>] [-UpdateFromEG] <UpdateFromEG>[ [-Monitor] <Monitor>] [<CommonParameters>]
This cmdlet will update or refresh an enclosure. An Enclosure Refresh will instruct HP OneView to go inventory the enclosure and update any missing management configurations. An Enclosure Update from EG will re-apply the Enclosure Group configuration for compliance.
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.
-Enclosure <Enclosure>
Optional. Provide the Enclosure name, URI or Object, or [System.Array] of names, URIs or Objects to refresh/update.
Aliases | None. |
Required? | false |
Position? | 1 |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-Refresh <Refresh>
Refresh the enclosure to fix configuration issues.
Aliases | None. |
Required? | true |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-UpdateFromEG <UpdateFromEG>
Aliases [-update] Update the Enclosure configuration from the associated Enclosure Group.
Aliases | None. |
Required? | true |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Reapply <Reapply>
Reapply the Enclosure Configuration.
Aliases | None. |
Required? | true |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Monitor <Monitor>
Optional. Wait for the update task to complete.
Aliases | None. |
Required? | false |
Position? | named |
Default value | False |
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.
-------------------------- EXAMPLE 1 --------------------------PS C:\> Update-HPOVEnclosure -Refresh
Refresh all available enclosures.
-------------------------- EXAMPLE 2 --------------------------PS C:\> Update-HPOVEnclosure Enclosure1 -Refresh
Refresh 'Enclosure1' enclosure.
-------------------------- EXAMPLE 3 --------------------------PS C:\> Update-HPOVEnclosure -UpdateFromEG
Re-apply Enclosure Group settings all available enclosures.
-------------------------- EXAMPLE 4 --------------------------PS C:\> Update-HPOVEnclosure Enclosure1 -UpdateFromEG
Re-apply Enclosure Group settings 'Enclosure1' enclosure.
- [Get-HPOVEnclosure] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVEnclosure)
- [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)