-
Notifications
You must be signed in to change notification settings - Fork 52
Update HPOVEnclosure
Update or Refresh an enclosure.
Update-HPOVEnclosure[ [-Refresh] <SwitchParameter>] [-InputObject] <Object> [-ApplianceConnection] <Array> [-Hostname] <String> [-Username] <String> [-Password] <String>[ [-Async] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Update-HPOVEnclosure[ [-Reapply] <SwitchParameter>] [-InputObject] <Object> [-ApplianceConnection] <Array>[ [-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 <Array>
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:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Async <SwitchParameter>
Immediately return asyncronous task object to monitor.
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 |
-Hostname <String>
When an Enclosure is in an Error state where the Primary Onboard Administrator IP Address changed, or the HPE OneView managed configuration is no longer present, you will need to provide the IP Address or FQDN of one of the Onboard Administrators in the target enclosure. You will be prompted for this value if needed.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-Enclosure] Provide the Enclosure name or Object, or [System.Collections.ArrayList] of names or Objects to refresh/update.
Aliases | Enclosure |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-Password <String>
Provide the password of the Onboard Administrator administrator account to re-apply the configuration if the enclosure is in an error state and the HPE OneView managed configuration is no longer present. You will be prompted for this value if needed.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
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 |
-Username <String>
Provide the Username of an Onboard Administrator administrator account to re-apply the configuration if the enclosure is in an error state and the HPE OneView managed configuration is no longer present. You will be prompted for this value if needed.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
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.Collections.ArrayList ** Multiple Enclosure resources
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject] Async task Resource object for monitoring the enclosure import process
-------------------------- EXAMPLE 1 --------------------------PS C:\> Get-HPOVEnclosure | Update-HPOVEnclosure -Refresh
Refresh all available enclosures, from all connected sessions.
-------------------------- EXAMPLE 2 --------------------------PS C:\> Get-HPOVEnclosure -Name Enclosure1 | Update-HPOVEnclosure -Refresh
Refresh 'Enclosure1' enclosure.
-------------------------- EXAMPLE 3 --------------------------PS C:\> $AsyncTaskToMonitor = Get-HPOVEnclosure -Name Enclosure1 | Update-HPOVEnclosure -Refresh -Hostname UpdatedOAFQDN.domain.local -Username Administrator -Password MyOAPassw0rd -Async
Refresh 'Enclosure1' enclosure, supplying the updated OA FQDN and administrator credentials
- [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)
### HPE OneView 2.00 Library
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)
### HPE OneView 1.20 Library
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)