Update-OVServer
Syntax
Update-OVServer
[-InputObject] <Object>
[-Async]
[-ApplianceConnection] <Object>
[<CommonParameters>]
Update-OVServer
[-InputObject] <Object>
[-Credential] <String>
[-Hostname] <String>
[-Force]
[-Async]
[<CommonParameters>]
Description
By using this Cmdlet, you can manually refresh the connection between the appliance and server hardware by using the Refresh option on the Actions menu. You must refresh server hardware if it has lost connectivity or if it is not synchronized with the appliance. Connectivity loss can occur during normal appliance operation. A device can become unsynchronized if you make changes to it outside of the appliance
Examples
Example 1
Refresh the state of the provided server hardware device.
Example 2
Refresh the state of the server hardware device assigned to the Server Profile object.
Parameters
-InputObject <Object>
The Server object or Name, or can be a Server Profile object.
| Aliases | name, Server |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | |
| Accept pipeline input? | true (ByValue) |
| Accept wildcard characters? | False |
-Async <SwitchParameter>
Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | False |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-ApplianceConnection <Object>
Specify one [HPEOneView.Appliance.Connection] object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
| Aliases | Appliance |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | (${Global:ConnectedSessions} | ? Default) |
| Accept pipeline input? | true (ByPropertyName) |
| Accept wildcard characters? | False |
-Hostname <String>
When a server hardware resource is in an Error state where the iLO IP Address or FQDN has changed, or the HPE OneView managed configuration is no longer present, you will need to provide the IP Address or FQDN.
| Aliases | None |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-Credential <String>
Provide a PSCredential object instead of the Username and Password.
| Aliases | None |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-Force <SwitchParameter>
If the target server resource is repoting to be claimed by another external manager, use this parameter to force claim from the connected appliance.
| Aliases | None |
|---|---|
| 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
Server Hardware Name
Server Hardware Resource
Server Profile Resource
Return Values
Async task that tracks the server refresh request
Related Links
- Add-OVServer
- Convert-OVServerProfile
- Convert-OVServerProfileTemplate
- ConvertTo-OVServerProfileTemplate
- Copy-OVServerProfile
- Get-OVServer
- Get-OVServerHardwareType
- Get-OVServerProfile
- Get-OVServerProfileConnectionList
- Get-OVServerProfileMessage
- Get-OVServerProfileTemplate
- Join-OVServerProfileToTemplate
- New-OVServerProfile
- New-OVServerProfileAssign
- New-OVServerProfileAttachVolume
- New-OVServerProfileConnection
- New-OVServerProfileLogicalDisk
- New-OVServerProfileLogicalDiskController
- New-OVServerProfileTemplate
- Remove-OVServer
- Remove-OVServerProfile
- Remove-OVServerProfileTemplate
- Restart-OVServer
- Save-OVServerProfile
- Save-OVServerProfileTemplate
- Set-OVServerHardwareType
- Set-OVServerPower
- Set-OVServerProfile
- Set-OVServerProfileTemplate
- Start-OVServer
- Stop-OVServer
- Update-OVServerHardwareLicenseIntent
- Update-OVServerProfile
- Get-OVServerOneTimeBoot
- Set-OVServerOneTimeBoot