-
Notifications
You must be signed in to change notification settings - Fork 52
Update HPOVServer
Refresh the state of a server resource.
Update-HPOVServer [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-Async] <SwitchParameter>] [<CommonParameters>]
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
-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)
System.String Server Hardware Name
System.Management.Automation.PSCustomObject Server Hardware Resource
System.Management.Automation.PSCustomObject Server Profile Resource
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Async task that tracks the server refresh request
-------------------------- 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.
Refresh the state of a server resource.
Update-HPOVServer [-Server] <Object> [-ApplianceConnection] <Object> [<CommonParameters>]
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
-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)
System.String Server Hardware Name
HPOneview.ServerHardware {System.Management.Automation.PSCustomObject} Server Hardware Resource
HPOneview.ServerProfile {System.Management.Automation.PSCustomObject} Server Profile Resource
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Async task that tracks the server refresh request.
-------------------------- 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.
- Get-HPOVServer
- Add-HPOVServer
- Get-HPOVIloSso
- Start-HPOVServer
- Stop-HPOVServer
- Restart-HPOVServer
- Get-HPOVServerProfile
Refresh the state of a server resource.
Update-HPOVServer [-Server] <Server> [<CommonParameters>]
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
-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)
System.String Server Hardware Name System.Management.Automation.PSCustomObject Server Hardware Resource System.Management.Automation.PSCustomObject Server Profile Resource
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Async task that tracks the server refresh request.
-------------------------- 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.