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
Powers off a server hardware resource.Syntax
Graceful power-off (default)Description
Stop-OVServer sends a power-off signal to the specified server hardware via the iLO management processor. The default behaviour is a graceful momentary press of the power button, which requests the OS to shut down cleanly.
Use -Force to immediately cut power (press-and-hold) without waiting for the OS to shut down.
The cmdlet accepts server hardware objects or server profile objects from the pipeline.
Parameters
The server hardware or server profile object to power off. Accepts pipeline input. The
Server alias is also accepted.Force an immediate power-off using a press-and-hold action. When specified, this parameter set is activated and the cmdlet requires confirmation.
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 powering off the server.
Examples
Graceful power-off
Encl1, bay 1 and waits for the operation to complete.
Power off using the pipeline
Stop-OVServer.
Forced power-off
Power off all servers in an enclosure
Encl1 without confirmation prompts, submitting each as an async task.
Output
HPEOneView.Appliance.TaskResource
Returns an async task resource for the power-off operation.