Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HewlettPackard/POSH-HPEOneView/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Restarts a server hardware resource managed by HPE OneView.Syntax
Graceful restart (default)Description
Restart-OVServer initiates a restart of the specified server hardware. By default, it sends a graceful reset signal via the iLO (equivalent to pressing the reset button). Use -ColdBoot to perform a full power cycle: the server is powered off and then back on.
The server must be powered on to restart. If the server is already off, use Start-OVServer instead.
The cmdlet accepts server hardware objects or server profile objects from the pipeline.
Parameters
The server hardware or server profile object to restart. Accepts pipeline input.
Perform a cold boot (full power cycle) instead of a graceful reset. This parameter is mandatory for the
ColdBoot parameter set.Return the async task object immediately without waiting for the operation to complete.
The appliance connection object or name. Defaults to the default connected session. Accepted from the pipeline by property name.
Prompts for confirmation before restarting the server.
Examples
Graceful restart
Encl1, bay 3 and waits for the task to complete.
Restart using the pipeline
Restart-OVServer.
Cold boot a server
Asynchronous restart
Output
HPEOneView.Appliance.TaskResource
Returns an async task resource for the restart operation.