Update HPOVServer - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Update-HPOVServer

Refresh the state of a server resource.

SYNTAX

Update-HPOVServer [-InputObject] <Object>[ [-Async] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
Update-HPOVServer [-InputObject] <Object> [-Credential] <String> [-Hostname] <String>[ [-Force] <SwitchParameter>][ [-Async] <SwitchParameter>] [<CommonParameters>]
Update-HPOVServer [-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:ConnectedSessions} | ? Default

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

-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>

Force delete the resource.

Aliases None
Required? False
Position? named
Default value
Accept pipeline input? false
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

-InputObject <Object>

Aliases [-Name, -Server] 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

<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 --------------------------

Get-HPOVServer "Encl1, Bay 1" | Update-HPOVServer | Wait-HPOVTaskComplete

Refresh the state of the provided server hardware device.

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

$task = Get-HPOVServerProfile "Profile1" | Update-HPOVServer

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

Related Links


Top

HPE OneView 4.00 Library

Update-HPOVServer

Refresh the state of a server resource.

SYNTAX

Update-HPOVServer [-InputObject] <Object>[ [-Async] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
Update-HPOVServer [-InputObject] <Object> [-Credential] <String> [-Hostname] <String>[ [-Async] <SwitchParameter>] [<CommonParameters>]
Update-HPOVServer [-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:ConnectedSessions} | ? Default

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

-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

-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

-InputObject <Object>

Aliases [-Name, -Server] 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

<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 --------------------------

Get-HPOVServer "Encl1, Bay 1" | Update-HPOVServer | Wait-HPOVTaskComplete

Refresh the state of the provided server hardware device.

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

$task = Get-HPOVServerProfile "Profile1" | Update-HPOVServer

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

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️