Skip to content

Update-OVServer

Syntax

Update-OVServer
    [-InputObject] <Object>
    [-Async]
    [-ApplianceConnection] <Object>
    [<CommonParameters>]
Update-OVServer
    [-InputObject] <Object>
    [-Credential] <String>
    [-Hostname] <String>
    [-Force]
    [-Async]
    [<CommonParameters>]
Update-OVServer
    [-ApplianceConnection] <Object>
    [<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

Get-OVServer -Name "Encl1, Bay 1" | Update-OVServer | Wait-OVTaskComplete

Refresh the state of the provided server hardware device.

Example 2

$task = Get-OVServerProfile -Name "Profile1" | Update-OVServer

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