Skip to content

Update HPOVServer

Chris Lynch edited this page Apr 18, 2017 · 41 revisions

HPE OneView 3.00 Library

Update-HPOVServer

Refresh the state of a server resource.

SYNTAX

Update-HPOVServer [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-Async] <SwitchParameter>] [<CommonParameters>]

Detailed 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

Parameters

-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:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? 1
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this switch to recieve the async task back for the caller to monitor and not wait for the task to complete.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-InputObject <Object>

Aliases [-Name, -Server] The Server object or Name, or can be a Server Profile object.

Aliases name, Server
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
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

System.String Server Hardware Name

System.Management.Automation.PSCustomObject Server Hardware Resource

System.Management.Automation.PSCustomObject Server Profile Resource

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async task that tracks the server refresh request

Examples

 -------------------------- EXAMPLE 1 --------------------------

PS C:\> Get-HPOVServer "Encl1, Bay 1" | Update-HPOVServer | Wait-HPOVTaskComplete

Refresh the state of the provided server hardware device.

 -------------------------- EXAMPLE 2 --------------------------

PS C:\> $task = Get-HPOVServerProfile "Profile1" | Update-HPOVServer

Refresh the state of the server hardware device assigned to the Server Profile object.

Related Links


HPE OneView 2.00 Library

Update-HPOVServer

Refresh the state of a server resource.

SYNTAX

Update-HPOVServer [-Server] <Object> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed 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

Parameters

-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 Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Server <Object>

Aliases [-name] The Server object or Name, or can be a Server Profile object.

Aliases name
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
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

System.String Server Hardware Name

HPOneview.ServerHardware {System.Management.Automation.PSCustomObject} Server Hardware Resource

HPOneview.ServerProfile {System.Management.Automation.PSCustomObject} Server Profile Resource

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async task that tracks the server refresh request.

Examples

 -------------------------- EXAMPLE 1 --------------------------

PS C:\> Get-HPOVServer "Encl1, Bay 1" | Update-HPOVServer | Wait-HPOVTaskComplete

Refresh the state of the provided server hardware device.

 -------------------------- EXAMPLE 2 --------------------------

PS C:\> $task = Get-HPOVServerProfile "Profile1" -ApplianceConnection "MyAppliance.domain.com" | Update-HPOVServer

Refresh the state of the server hardware device assigned to the Server Profile object.

Related Links


HPE OneView 1.20 Library

Update-HPOVServer

Refresh the state of a server resource.

SYNTAX

Update-HPOVServer [-Server] <Server> [<CommonParameters>]

Detailed 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

Parameters

-Server <Server>

Aliases [-name] The Server object or Name, or can be a Server Profile object.

Aliases None.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
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

System.String Server Hardware Name System.Management.Automation.PSCustomObject Server Hardware Resource System.Management.Automation.PSCustomObject Server Profile Resource

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async task that tracks the server refresh request.

Examples

 -------------------------- EXAMPLE 1 --------------------------

PS C:\> Get-HPOVServer "Encl1, Bay 1" | Update-HPOVServer | Wait-HPOVTaskComplete

Refresh the state of the provided server hardware device.

 -------------------------- EXAMPLE 2 --------------------------

PS C:\> $task = Get-HPOVServerProfile "Profile1" | Update-HPOVServer

Refresh the state of the server hardware device assigned to the Server Profile object.

Related Links


Wiki Table of Contents

Clone this wiki locally